Search Issue Tracker
By Design
Votes
0
Found in
5.6.0f3
Issue ID
910211
Regression
No
[iOS] [Mono2x] JIT compile exception when setting Selectable.colors
Steps to reproduce:
1. Open the attached project
2. Build to iOS
3. When app opens on an iOS device, check Console log
Results: error thrown
ExecutionEngineException: Attempting to JIT compile method 'System.Collections.Generic.GenericEqualityComparer`1<UnityEngine.UI.ColorBlock>:.ctor ()' while running with --aot-only. <...>
Reproduced on: 5.5.3p3, 5.6.0f1, 2017.1.0b5 (Mono2x, iPad Mini 2, iOS 9.2.1)
THIS IS A KNOWN LIMITATION OF MONO BACKEND.
Workarounds:
- using IL2CPP instead of Mono2x Scripting backend
- Manually implement IEqualityComparer<TKey> (As described in: https://developer.xamarin.com/guides/ios/advanced_topics/limitations/#Value_types_as_Dictionary_Keys )
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment