Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.6.0b7
Issue ID
881013
Regression
No
[IL2CPP] Using contravariance causes a compilation failure with type mismatch on IL2CPP
Steps to reproduce:
1) Open the latest attached project.
2) Build for iOS/Android with IL2CPP as the Scripting API.
- Build will fail for Android already, if you're on iOS, proceed.
3) Run on a device.
When deploying to a device, an error appears in Xcode:
Cannot initialize a parameter of type 'Act_1_t1402033311 *' with an lvalue of type 'Act_1_t1780332774 *'
The same error appears, when building for Android.
Disabling Engine Code Stripping does not help. This doesn't occur with Mono2x.
Reproduced on:
5.6.0b8, 5.2.4f1
Devices:
iPhone 6S iOS 10.3
LG Nexus 5 Android 6.0.1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment