Search Issue Tracker

Fixed in 2021.1

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

Scene Management

-

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

  1. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.0a1

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.