Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in

5.6.0b5

Issue ID

1058851

Regression

No

[Prefabs] Unloading active scene throws SerializedObject destroyed errors

Scene Management

-

To reproduce:

1. Load two scenes into scene manager.
2. Open lighting settings window, make sure it is visible.
3. Make second scene active.
4. Remove the active scene from scene manager via right click.

Errors in console:
SerializedObject target has been destroyed.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

If active scene is the first in hierarchy and we remove first one, errors do not appear.
Lighting window must be opened before making one scene active. If lighting window is opened after making scene active, no errors appear.

Reproduced on: prefabs/improved, July 9
No repro on latest trunk

  1. Resolution Note:

    This will be solved when making the settings file as an asset.

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.