Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.2.X
Votes
0
Found in
2019.3.0a5
2019.3.1f1
2019.4
2020.1
2020.2
Issue ID
1222808
Regression
Yes
[Mobile] Build succeeds but IL2CPP error "Unhandled Exception: System.Collections.Generic.KeyNotFoundException:" is thrown
How to reproduce:
1. Open the attached ElasticSearchIL2CPPError.zip project
2. Build for iOS/Android
Expected: Build succeeds without errors
Actual: Build succeeds but IL2CPP errors are thrown
Reproducible with: 2019.3.0a5, 2019.3.16f1, 2019.4.2f1, 2020.1.0b14, 2020.2.0a16
Not reproducible with: 2018.4.24f1, 2019.2.21f1, 2019.3.0a4
Note:
- The project uses a third-party .dll
- Error: Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key 'System.Collections.Generic.IEnumerator`1<!0>
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0a6
UnityLinker : Fix a case where an interface could be incorrectly removed from a type when no .ctor for that type was marked.
Resolution Note (fix version 2020.2):
UnityLinker : Fix a case where an interface could be incorrectly removed from a type when no .ctor for that type was marked.
Fixed in: 2020.2.0f1
Resolution Note (fix version 2019.4):
UnityLinker : Fix a case where an interface could be incorrectly removed from a type when no .ctor for that type was marked.
Fixed in 2019.4.17f1