Search Issue Tracker
Duplicate
Votes
1
Found in
5.2.1f1
Issue ID
734382
Regression
No
Editor crashes when compiling scripts if the scripts are written in a certain way
To reproduce:
1. Open the project I attached ("repro(2).zip")
Unity should crash when compiling scripts.
I have removed every line that isn't needed for the crash. If another line is commented out from the scripts, the crash doesn't occur.
The crash occurs if:
a script (script A) describes a class that has a member of its own type, and
there is another script (script B) that describes a struct with a member of script A's class, and
script B also describes a class that implements a SyncListStruct<Script B's struct>
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
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
This is a duplicate of issue #736743