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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
This is a duplicate of issue #736743