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
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][IL2CPP][ARMv7] Struct field value corrupts when invoking a generic delegate with a large struct by value
- Highlights persist throughout Options Panels in the Rendering Debugger Window
- Typing numbers in Matrix node’s numeric fields stretches Node
- Project Browser Icons use the wrong Theme and Users are not shown any indication that process will be deferred when switching Editor Theme in Play Mode
- Streaming is misspelled as "Steaming" in "Enable GPU Streaming" and "Enable Disk Streaming" tooltpis
Add comment