Search Issue Tracker

Fixed in 5.6.0

Votes

0

Found in

5.6.0xb10

Issue ID

890420

Regression

Yes

[Linux Editor] Calls to SceneManager.LoadScene() result in 'INTERNAL ASSERT' warnings

Linux

-

When SceneManager.LoadScene() is called from a script, assert warnings appear in the console.

Steps to reproduce:
1) Open the attached project.
2) Assign the 'ResetScene.cs' script to Main Camera.
3) Enter play mode.
4) Press 'R' key.

Error is logged in the Console:
INTERNAL ASSERT: The call to OnLevelWasLoaded has been deprecated for while now, consider removing it or bump the version check here

However, the scene is reloaded successfully.

Reproduced on:
5.6.0b10

Did not reproduce:
2017.1.0a4 (trunk), 5.6.0b8

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.