OnLevelWasLoaded called somewhere
After I restart current scene I got an error:
"INTERNAL ASSERT: The call to OnLevelWasLoaded has been deprecated for while now, consider removing it or bump the version check here"
It seems to be a Unity bug because:
I do NOT use OnLevelWasLoaded at all in any of my assets
It does not provide any detail for the error: neither class nor line number
I tried restarting the scene with
Application.LoadLevel(Application.loadedLevel);
and with
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
and got one and the same result in both cases.
Also there are several color changes in the game after it happens (I can attach screenshots if it matters).
So my questions are:
Am I right that it is a Unity bug?
Is it a known issue?
Should I create a bug report somewhere?
I am using Unity 5.6.0xb1Linux Personal (64bit)
Did you find what is causing this? I'm getting it with the latest Linux editor as of August 2017 (2017.2)
Your answer
![](https://koobas.hobune.stream/wayback/20220612120041im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
gfx.WaitForPresent causing performance drops? 1 Answer
footstep bug ? 0 Answers
All objects become transparent when press play. why? 0 Answers