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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment