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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment