Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2020.1.0a17
2020.3.12f1
Issue ID
1348243
Regression
Yes
[IL2CPP] Garbage Collector corrupts against generic types in the IL2CPP Build
How to reproduce:
1. Open the user's attached "TestGCAssert" project
2. Open the Scene "SampleScene"
3. Open the Build Settings (File->Build Settings...)
4. Add Open Scenes and check the "Create Visual Studio Solution" option
5. Build
6. Open the built "TestGCAssert.sln" file
7. Press the "Local Windows Debugger" at the top to launch the project
8. Once an error appears press "Retry"
Expected results: No errors are thrown, a breakpoint is not activated
Actual results: A "Debug Assertion Failed!" error is thrown, a breakpoint is activated
Reproducible with: 2020.1.0a17, 2020.3.15f2, 2021.1.16f1
Not reproducible with: 2019.4.29f1, 2020.1.0a16, 2021.1.17f1, 2021.2.0b6, 2022.1.0a5
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2021.1):
Fixed in 2021.1.17f1