Linked background scene disappears on Save. Crash on reload. #75935
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
8 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#75935
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2080 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19
Blender Version
Broken: version: 2.83 (sub 13), branch: master, commit date: 2020-04-20 02:11, hash:
blender/blender@23bb42a06e
Worked: 2.82 and previous version worked
Short description of error
I often link a scene from another Blend file into my project, then set this as background scene. I just noticed on the 2.83 daily builds this bug: when saving the file, the background scene simply disappears.
It is however still linked, going to the outliner, switching to Display Mode = Blend file, it is still there. When I then right-click in the outliner and select Reload, Blender crashes (sometimes, sometimes not)
Exact steps for others to reproduce the error
Make a Blend file, rename the Scene to = "Background", SAVE.
Make a second Blend file.
Link the Scene "Background" from the first file.
Go to scene settings, under "Background Scene" select the linked Scene. --> it appears in the viewport.
Save the file. --> The linked background disappears!
Go to outliner, set "Display Mode = Blender file". Scroll down, the linked file ist still there!
Right click on link, choose Reload --> CRASH! (sometimes)
Added subscriber: @ZsoltStefan
Added subscriber: @rjg
I can't reproduce this with a build of the same commit. The scene neither disappears in the viewport nor does it crash when reloading the linked scene. Are you using a specific scene other than the default startup file? If it is a particular background scene, please try to create a minimal version that still results in a crash and attach the .blend file to your report.
Please open Blender's installation directory and double-click on the
blender_debug_log.cmd
. This will start Blender in debug mode and create log files. Try to make Blender crash again. The Windows Explorer should open and show you two files. Add them to your bug report by clicking on the upload button as shown in the screenshot below.Changed status from 'Needs Triage' to: 'Needs User Info'
I made a very simple scene which also has the bug. Put both files in one order, open linked_scene_bug.blend. There is a Suzanne head and some objects around it. When saving the file, the linked objects disappear, only the monkey remains.
I coudn't get this file to crash.
I did however get my other project to crash. I saved the file and reloaded the linked background scene about 3 times, then I reloaded one of the other linked files, then it crashed. The log is attached.
linked_scene_bug.blend
linked_scene_bug_background.blend
blender_debug_output.txt
blender_system_info.txt
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
I can not reproduce this @rjg was you able to reproduce?
@ZsoltStefan does this happen if you click on File > Defaults > Load Factory Settings?
@iss No, I haven't been able to.
@iss I reset it to defaults, but the same behaviour.
Interesting: when saving the file and the linked scene disappears: all the objects from the linked scene show up in the Outliner Orphan Data view. After reload of the scene, they're removed from here.
@ZsoltStefan can you test this with Blender version 2.90?
Since we can not reproduce this I assume there is high chance that there is something wrong on your side.
Can you also check what happens if you right click on broken library in outliner and click on relocate?
@iss The bug happens on two different computers. They have different hardware, but similar software setups.
Relocate works normally, I can select the same file and it loads the scene like it was before. And crashes sometimes (about 50% of the time)
Just tested on 2.90. The 2.90 build from today works! This is encouraging. So it's something in the 2.83 builds.
I have however managed to make it crash in the same way. Once with Reload from the outliner, once with Relocate, for this latter case I have the debug log:
blender_debug_output.txt
blender_system_info.txt
Crash may be related to this problem, I haven't tried hard to reproduce it though.
I would like to further investigate 2.83 problem.
Can you open folder
C:\Users\q399628\AppData\Roaming\Blender Foundation\Blender\
either remove folder
2.83
or rename it before testing temporarily if you don't want to lose any user preferencesThen check if this issue persists in version 2.83. I would recommend downloading latest build and extract it to new temporary location (prefferably desktop) and do testing from there
Okay, I renamed the preferences folder. This did the trick, linked scenes stay after saving. I also have not yet experienced a crash. With today's build, but also with the 2.83 build from the bug report.
My suspicion here is, that this may be caused by addon, even if it is disabled. I have seen report of disabled addon causing problems.
Otherwise I have no idea what can cause this behavior. If you can investigate this further and find a cause please let us know.
I will leave this report open in state needs info from user, and will be closed in 7-ish days with no new information provided.
Thanks for reporting.
@iss Part of the problem seems to be a bug when a crash happens on a clean install of 2.90 with only the default add-ons enabled:
@ZsoltStefan Have you copied your user preferences over to 2.90 install?
@iss Ok I've found the culprit for the disappearing scene. It is the BlenderKit addon. Disabling it makes linked assets work normally.
For more information: I don't know if this is the cause, but the addon is not logged into an account. I have a Blenderkit account, however when I log in (through the browser), Blender just waits and waits for a connection. If I press cancel I get this message:
This is a work computer, so maybe the company network prohibits the connection. So I can't use the addon anyways, I can disable it. Still shouldn't be deleting linked scenes though.
@rjg I can't say with certainty, but I probably did not copy the settings, otherwise Blenderkit would have been enabled and then I would've had the same problem.
Which leaves the question of the crash. I haven't had a crash today, I'll post here if it happens again and under what conditions.
@ZsoltStefan Thanks for info.
I would recommend making a bug report for BlenderKit addon if they have a tracker or notifying it's developers of this problem. They will probably be able to find root cause easily and colaborate with us on fixing it.
Will wait for new info to reproduce crash
Added subscriber: @ankitm
Changed status from 'Needs User Info' to: 'Archived'
No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.
Thanks again for the report.
Added subscriber: @AndresStephens
Yes, I can confirm, it's the Blenderkit addon that causes this issue.
Did anyone file a bug report https://www.blenderkit.com/report-bug/ ?
@iss or should we reopen it since blenderkit is part of addons project ?
Oops I didn't check this, I assumed it's not.
I will re-check if I can reproduce first
Changed status from 'Archived' to: 'Confirmed'
Added subscriber: @VilemDuha
Yes I can reproduce, that backround scene will dissappear, I can't reproduce crash anymore.
CC @VilemDuha
Thanks for linking me, wasn't aware of this bug until now, will investigate asap before release. BlenderKit doesn't interact with linked scenes, but also, I never used the background scene feature so need to check well if this issue is still there.
This issue was referenced by
df726ecd2b
Changed status from 'Confirmed' to: 'Resolved'
Hi.
i have exactly this issue with blender 3.6.
i have blenderkit installed but not loaded. will try with a fresh blender install on another pc tomorrow.
to reproduce:
seems that the scene needs to be opened in the compositor or editor, so it get saved with the file. probably garbage collection?
Please make new report, this one was resolved already.