Search Issue Tracker
Fixed in 4.5.X
Votes
0
Found in
4.3.0f2
Issue ID
573448
Regression
No
Crash in MonoScript.GetClass() when calling the method
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.
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
Add comment