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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment