Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.4
2019.4.8f1
2020.3
2021.1
2021.2
Issue ID
1315910
Regression
No
"Assertion failed on expression: 'insideBlock || node.IsInline() || node.IsScalar'" when saving Scene with Missing (Mono Script)
Reproduction steps:
1. Open the user's attached project and Scenes/SampleScene scene
2. In the Hierarchy window, select Main Camera (1) GameObject and move it (or modify the Scene in any other way)
3. In the Inspector window, observe the component with Missing (Mono Script)
4. Save the Scene
5. Observe the Console window
Expected result: There are no errors or the error is more informative
Actual result: "Assertion failed on expression: 'insideBlock || node.IsInline() || node.IsScalar" error appears
Reproducible with: 2019.4.22f1, 2020.3.0f1, 2021.1.0b11, 2021.2.0a8
Could not test with: 2018.4.32f1 (could not downgrade)
Note: Issue is not reproducible after removing the component with Missing (Mono Script)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (2021.2.X):
Appears to be a bad yaml merge caused by an older version of the PixelPerfectCamera script. We will not fix this issue directly, and have taken note of the confusing error message to improve at a future time.