Search Issue Tracker

Fixed in 4.5

Votes

0

Found in

4.3.0f2

Issue ID

573448

Regression

No

Crash in MonoScript.GetClass() when calling the method

Scripting

-

Steps to reproduce :

- download the project attached
- create a new project
- in the root folder of the project copy the scripts GetClass.cs, LoadScene.cs, Type0.cs and Type1.cs
- create a new Editor folder and copy the GetClassInspector.cs into it
- make sure all the scripts are copied before regaining focus to Unity so it does not compile only part of the scripts
- switch to Unity and drag the GetClass.cs to the Main Camera
- drag the script GetClass.cs in the first Source Target field and Unity will crash

*Note:
The crash does not occur again if Unity is restarted after it crashed.

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.