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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a2