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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
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.