Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2017.4
2018.4
2018.4.0f1
2019.2
2019.3
2020.1
Issue ID
1214583
Regression
No
SceneManager GetSceneByPath returns an invalid scene when lower case / not case sensitive path is provided
How to reproduce:
1. Open attached project "SceneInvalid.zip" and scene "SampleScene"
2. In Editor, click Bug -> Save Scene (Bug)
3. Observe the Console window
Expected result: no errors are thrown, the correct scene with a provided path is returned
Actual result: get Scene By Path fails when lowercased path is provided, "ArgumentException: The scene is invalid." is thrown
Reproducible with: 2017.4.36f1, 2018.4.16f1, 2019.2.20f1, 2019.3.0f6, 2020.1.0a21
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Screen.SetResolution immediately applies windowed resolution when switching from Fullscreen to Windowed mode
- Lighting window allows non-cube map texture for Environment Reflections, throwing invalid texture type (2D) error
- Console warning “MismatchingRepositoryProjectMessage” when creating a new Unity Version Control workspace
- [Ubuntu] VFX Graph Enum Value menu stretches across screen when entered long Enum Value
- Unclear warning message in Rendering Debugger about the Play mode Debugger Overlay
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0a1