Deleting a scene with a scene strip causes the referenced scene to have zero users #97688

Closed
opened 2022-04-28 19:22:50 +02:00 by Ray Mairlot · 8 comments

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.23

Blender Version
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-04-27 22:46, hash: 52a5f68562
Worked: prior to a71a513def

Short description of error

If you have a scene (Scene A) that references another scene (Scene B) via a 'Scene' strip in the VSE and then delete the scene with the VSE strip (Scene A), the scene that was referenced by the scene strip (Scene B) will have zero users (the scene name in the main window header will now be red and if you click the scene icon next to it (as if to change scenes) you will see a zero next to the scene).

***Note:***This only happens if deleting the scene with the scene strip (Scene A) results in the second scene (Scene B) becoming the active scene (because there are no other scenes). If there is a third scene which would become the active scene upon deletion, the zero user issue doesn't happen.Exact steps for others to reproduce the error
To recreate the issue from the default start file:

  1. Add a new scene so there are now two scenes in the file.
  2. Change to the 'Video Sequencer' editor.
  3. Add a 'Scene' strip referencing the other scene.
  4. Delete the current scene.

Or, using Deleting VSE scene causes zero users scene.blend

  1. Delete the active scene.
**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.23 **Blender Version** Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-04-27 22:46, hash: `52a5f68562` Worked: prior to a71a513def **Short description of error** If you have a scene (Scene A) that references another scene (Scene B) via a 'Scene' strip in the VSE and then delete the scene with the VSE strip (Scene A), the scene that was referenced by the scene strip (Scene B) will have zero users (the scene name in the main window header will now be red and if you click the scene icon next to it (as if to change scenes) you will see a zero next to the scene). ***Note:***This only happens if deleting the scene with the scene strip (Scene A) results in the second scene (Scene B) becoming the active scene (because there are no other scenes). If there is a third scene which would become the active scene upon deletion, the zero user issue doesn't happen.**Exact steps for others to reproduce the error** To recreate the issue from the default start file: 1. Add a new scene so there are now two scenes in the file. 2. Change to the 'Video Sequencer' editor. 3. Add a 'Scene' strip referencing the other scene. 4. Delete the current scene. Or, using [Deleting VSE scene causes zero users scene.blend](https://archive.blender.org/developer/F13035551/Deleting_VSE_scene_causes_zero_users_scene.blend) 1. Delete the active scene.
Author

Added subscriber: @RayMairlot

Added subscriber: @RayMairlot
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Thanks for the report. I can confirm this.
This issue doesn't happen on previous releases. So I'll bisect this (tomorrow) if nobody checks/fixes this issue before that.

Thanks for the report. I can confirm this. This issue doesn't happen on previous releases. So I'll bisect this (tomorrow) if nobody checks/fixes this issue before that.
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

Bisecting points to- a71a513def
cc @Jeroen-Bakker

Bisecting points to- a71a513def cc @Jeroen-Bakker

This issue was referenced by 5188c14718

This issue was referenced by 5188c14718c56e4d088d3c5bb3ce3ed9ed8b7bdc

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Bastien Montagne self-assigned this 2022-05-02 16:06:33 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#97688
No description provided.