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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
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.