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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.