Search Issue Tracker

Fixed in Unity 2017.2.0f3

Votes

0

Found in

2017.2.0p2

Issue ID

970700

Regression

Yes

NullReferenceException thrown when calling EditorApplication.SaveOpenScenes() on entering play mode

Themes

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

Steps to reproduce:

1. Open attached project "970700.zip"
2. In the 'Untitled' scene, create a new GameObject in the Hierarchy
3. Enter play mode (EditorApplication.SaveOpenScenes() will be called)
4. Save the scene

Actual result: NullReferenceException is thrown even though scene is saved successfully

Reproducible with: 2017.2.0p2, 2017.3.0b10, 2018.1.0a5
Not reproducible with: 5.6.4p3, 2017.1.2p3

All about bugs

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