Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.7f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1146940
Regression
No
[IL2CPP] Fails to generate generic method struct variant when calling itself and causing ExecutionEngineException
Steps to reproduce:
1. Download "IL2CPP-Bug-GenericMethodRemoved.zip"
2. Build "SampleScene" for Standalone (IL2CPP)
3. Start player
Results: exception is triggered
ExecutionEngineException: Attempting to call method 'Bug::Send<MessageB>' for which no ahead of time (AOT) code was generated.
at Bug.Send[T] (T message) [0x00000] in <00000000000000000000000000000000>:0
Reproduced with: 2019.3.0a1, 2019.2.0a12, 2019.1.0f2, 2018.3.13f1, 2017.4.26f1
Note:
- 2017.4 was tested with UWP
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
This is a limitation of IL2CPP. It struggles with generic virtual methods where the generic type is a value type.