Search Issue Tracker

Fixed in 5.3.0

Votes

0

Found in

5.3.0a4

Issue ID

731124

Regression

Yes

Application.LoadedLevelName returns empty string when called right after opening the project

Asset Loading

-

Steps to reproduce:

1. Open the attached project
2. Upon opening, the 'FirstScene' should be automatically opened (if not, open that scene, close and reopen the project to ensure FirstScene is opened upon opening the project)
3. Play the scene
4. Notice an empty string is logged in the console, where the Application.LoadedLevelName is called

If you open other scene, and reopen 'FirstScene' again, the LoadedLevelName will be returned correctly.

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.