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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a2