Search Issue Tracker
Fixed
Fixed in 6000.2.0a9, 7000.0.0a23
Votes
0
Found in
2022.3.55f1
6000.0.33f1
6000.1.0a10
6000.2.0a1
Issue ID
UUM-91800
Regression
No
Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
Steps to reproduce:
1. Open the attached user's project "2040283_full_generic_sharing.zip"
2. In the Player settings, set IL2CPP Code generation to "Faster (smaller) Builds"
3. Build the Windows Standalone Player
4. Observe the crash
Expected results: Standalone Player does not crash
Actual results: Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
Reproducible: 2022.3.55f1, 6000.0.33f1, 6000.1.0a10
Could not test on 2021.3.47f1 due to Code Generation option "Faster (smaller) Builds" missing
Testing Environment: Windows 11 23H2
Not reproducible on: no other environment tested
Notes:
-Issue reproduces with both Release build and Development build
-Player log of the crash is attached named "PlayerCrashLog.txt"
-Changing the Line 31 in "Assets/GenericTest.cs" to "public readonly TDerived GetOrLoad<TDerived>() where TDerived : Object" solves the crash
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Non-standard error icon is used in Shader Graph
- GameObject drops to the last position in the Hierarchy when a RectTransform Component is added
- 'NullReferenceException' error is thrown when the Tutorials window is closed and the "Welcome Dialog" is pressed
- Mouse Postion can become max value or infinity when using touch input with Legacy Input Module
- Crash on RaiseException when creating a multiplayer room while toggling UI
Add comment