Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.4
2020.3
2020.3.3f1
2021.1
2021.2
Issue ID
1337964
Regression
No
Unity crashes when a generic class is not instantiated explicitly and a non-generic property is called
Reproduction steps:
1. Open the user's attached project
2. Create a build with IL2CPP
3. Run the build
Expected result: Build runs
Actual result: Build crashes
Reproducible with: 2018.4.35f1, 2019.4.28f1, 2020.3.11f1, 2021.1.10f1, 2021.2.0a19
Notes:
No repro in Mono
To get a reproduction in Editor, you need to replace NewBehaviourScript.cs with EditorCrashTest.cs and then enter play mode
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note (2021.2.X):
Closing as won't fix since we consider these as unsafe usages of Unsafe.As<>