Search Issue Tracker
Fixed in 2022.1.X
Votes
2
Found in
2020.3
2020.3.7f1
2021.1
2021.2
2022.1
Issue ID
1355520
Regression
No
[Scene Template] Creating a Scene from a template fails when no Scene dependencies are toggled on and called from modal window
How to reproduce:
1. Open "case_1355520" project
2. Select "Bug -> Open Window -> Please Bug" in the Menu
Expected result: The "haaaaaaaa" named Scene opens without "Assertion failed on expression" error
Actual result: The "haaaaaaaa" named Scene opens with "Assertion failed on expression" error
Reproducible with: 2020.3.18f1, 2021.1.20f1, 2021.2.0b11, 2022.1.0a7
Couldn't test with: 2019.4.30f1 (user's script error)
Note: Not reproducible on macOS
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
- [Quest 2] Surface shader and multi-view sampling custom textures broken in Quest 2
- Lighting Data asset is not created when baking multiple Scenes at the same time
- Performance issues when instantiating a recognizer under UnityEngine.Windows.Speech
- Build fails with "Exception: Unity.IL2CPP.Building.BuilderFailedException: Build failed with 0 successful nodes and 0 failed ones" when building the project for iOS
- [Android] .aab Build fails when using Asset Bundles
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a12
It is no longer possible to instantiate a scene from a template when called from a modal window. A warning will be displayed but no assert should be thrown.