Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2017.4.0f1
2018.1.9f2
2018.2.14f1
2018.2.16f1
2018.3.0b9
2019.1.0a8
Issue ID
1097010
Regression
No
[IL2CPP] AOT exception is thrown when using a dynamic delegate call
Steps to reproduce:
1. Download 1097010_repro.zip
2. Build project for Standalone with IL2CPP backend
3. Launch the build app.
Expected results: Build doesn't throw any exceptions
Actual results: Build throw an exception
Reproduced with: 2019.1.0a8, 2018.3.0b9, 2018.2.16f1, 2018.1.9f2, 2017.4.15f1
Tested and reproduced with UWP and Windows Standalone platforms
Execution: System.ExecutionEngineException: Attempting to call method 'System.Collections.ICollection::get_Count' for which no ahead of time (AOT) code was generated.
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2019.1):
IL2CPP did not properly handle virtual methods via delegate invoke in some cases. This change corrects that issue, so it should work in all cases.