Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.2.0f3
Issue ID
987731
Regression
No
[IL2CPP] "System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary." during iOS build
Reproduction steps:
1. Download the attached "il2cpp_test_case.zip" archive.
2. Run the build.sh shell script (chmod +x may be required).
Actual result:
Unhandled Exception:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <4fdc5ed61a074cafb49fa42deb20d521>:0
at Unity.IL2CPP.Metadata.Il2CppGenericMethodCollectorComponent.GetIndex (Mono.Cecil.MethodReference method) [0x00001] in <a4aff48d65314f998430eb7f5ab80d7e>:0
at Unity.IL2CPP.Metadata.MetadataCollector.RGCTXMethodEntryFor (Mono.Cecil.MethodReference method) [0x00034] in <a4aff48d65314f998430eb7f5ab80d7e>:0
Notes:
- It is not a general unity issue. Wasn't able to reproduce this issue by myself.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment