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

Asset Loading

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.