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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment