Search Issue Tracker

Fixed in 2017.1.X

Votes

0

Found in

2017.1.0b1

Issue ID

900829

Regression

No

Crashes due to StackOverflow when trying to close any scene on SceneClosingCallback

To reproduce:

1. Download project.
2. Execute menu item: "BUG/Delete scene"

Crash!

EditorSceneManager.SceneClosingCallback callback = (s, remove) =>
{
EditorSceneManager.CloseScene(s, true);
};

EditorSceneManager.CloseScene(scene, false);

The code above will make infinite recursive loop.

Reproduced on: 2017.1.0b1

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.