Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2018.4
2019.2
2019.3
2019.3.0f6
2020.1
Issue ID
1220015
Regression
No
Passing Scene names to LoadScene(Async)InPlayMode instead of full path loads empty Scenes
Steps to reproduce:
1. Open the attached project (case_1220015.zip)
2. Enter Play Mode
3. Select "Test" GameObject
4. Check either "Do Load Scene In Play Mode" or "Do Load Scene Async In Play Mode" in the Inspector
Expected result: An exception is thrown that the Scene could not be found (full path is required as per API)
Actual result: Scene "Test" is loaded without any objects present
Reproduced in: 2018.4.17f1, 2019.2.21f1, 2019.3.2f1, 2020.1.0a23
Cannot test with: 2017.4.37f1 (Required functions not available)
Note:
- As per API, the full path to the Scene is expected:
https://docs.unity3d.com/ScriptReference/SceneManagement.EditorSceneManager.LoadSceneInPlayMode.html
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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a2