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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment