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

Scripting

-

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.