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 ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment