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
- Terms of Service agreement checkbox is invisible under specific OS system themes (UI Accessibility)
- Tile Palette: "Create New Tilemap" dropdown area is displayed in several colors
- Input.mousePosition stops syncing to touch input when using "DownloadHandlerTexture" in WebGL build
- UI Builder canvas doesn't update element styling accordingly when changing Active Theme for some Editor Authoring elements
- Selector Value buttons are not aligned with parameters in UI Builder
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.