Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.65f1
6000.3.3f1
6000.4.0b3
6000.5.0a4
Issue ID
UUM-131787
Regression
No
'EditorSceneManager.sceneCount' reports the wrong count when called by an 'EditorSceneManager.sceneClosed' event
How to reproduce:
- Open the “SceneCountBug.zip“ project
- Open the “SampleScene“ and observe the Console
- Open the “SampleSceneExtra“
- Observe the Console
Actual result: “Scene Closed: 2” is logged
Expected result: “Scene Closed: 1” is logged
Reproducible in: 2023.1.0a1, 6000.0.65f1, 6000.3.3f1, 6000.4.0b3, 6000.5.0a4
Reproduced on: Windows 11 Pro (25H2)
Not reproduced on: No other environment tested
Notes:
- This also happens when an additively added scene is removed
- EditorSceneManager.sceneClosed event should be called after changing scenes. Therefore, the sceneCount should always return “1“
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment