Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
2017.2.0f3
Issue ID
976766
Regression
No
[IL2CPP] Struct that contains MarshalAs attribute doesn't work with IL2CPP backend
To reproduce:
1. Open project attached by the user
2. Build it for iOS or Android with IL2CPP platform ("Main" scene attached)
3. Run on the device
4. Inspect the Xcode console or logcat
Expected result: Correct number of SizeConst should be returned when using MarshalAs attribute.
Actual result: Application doesn't get MarshalAs attribute
Reproduced with: 5.6.4p4, 2017.1.2p4, 2017.2.1f1, 2017.3.0f1, 2018.1.0a7
Devices: iPhone 7+ iOS 10.3.2, Samsung SM G950U*, OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 540,
IL2CPP scripting backend
Doesn't reproduce with Mono backend
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