Search Issue Tracker
Fixed in 5.3.1
Votes
0
Found in
5.3.0f4
Issue ID
753240
Regression
No
Properties of the SceneManagement.Scene object become null after calling OpenScene
Steps to reproduce:
1. Open attached project
2. Open scene "scene01"
3. Open script "SceneObjectTest.cs"
4. Notice that it gets Scene object using GetActiveScene and prints its path. Then opens scene01 and prints path of the same Scene object again
5. In top menu, click "Scene Object Test > Test"
6. Notice that first Debug.Log prints path to scene, as expected, but the second one returns Null, meaning that properties of Scene got using GetActiveScene are lost
Bug introduced with new SceneManagement/EditorSceneManagement API.
Reproduced with: 5.3.0f4, 5.4.0a6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Customize handled extensions" part in the External Tools settings tab is not aligned with other properties
- Editor Diagnostics foldouts do not open when clicked on the foldout title
- [UI Builder] Visual Elements are not placed at the mouse cursor position when Absolute Position Placement is enabled
- "Width" and "Height" text is misaligned with slider ends in Screen Match Mode Parameters section of Panel Settings Asset
- Editor does not quit when Editor is not in focus and any floating window is opened
Add comment