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

IL2CPP

-

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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.