Blender crashes when I import an .OBJ file during a frame_change_pre callback while rendering an animation #74216
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#74216
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10, 64-bit
Graphics card: NVIDIA Quadro M1200
Blender Version
Broken: 2.82
Short description of error
If I try to import an OBJ file in a frame_change_pre callback function while rendering an animation, Blender crashes after a few frames.
Exact steps for others to reproduce the error
Start Blender in debug mode:
./blender.exe --debug --debug-memory --debug-python
Get a hold of a sequence of .OBJ files, each with file numbers (e.g. mesh_0.obj, mesh_1.obj, mesh_2.obj, etc.): https:*drive.google.com/open?id=11OGN-H6K9QgtDgBTXSRQ0nMCvNZuBcz8
Create a script, add the following code, providing a path to your mesh sequence:
Click the "Run Script" button
Start rendering an animation (Ctrl+F12). After a few frames, Blender will crash. The console sometimes has the following error:
I also get this error in every case:
This script works fine if I play the animation in the 3D viewport, but fails and crashes when I try to run it while rendering an animation.
Added subscriber: @JustinJensen
Added subscriber: @iss
Can you please upload animation to site, where registration is not required? Like google docs for example.
Here's a Google drive link to that horse .OBJ sequence: https:*drive.google.com/open?id=11OGN-H6K9QgtDgBTXSRQ0nMCvNZuBcz8
crash on frame 10, because only on 10th frame mesh is actually loaded
crashed (thread):
id_node
was freedmain (seems to cause race condition):
Changed status from 'Needs Triage' to: 'Confirmed'
Closed as duplicate of blender/blender#73530