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
- Shader Compilation for projects with lots of Shaders can be slow (i.e. VFX Graph asset heavy projects)
- Crash on RebuildTransformHierarchyOrMarkForDestruction when opening a scene
- The Editor hangs when opening a project that uses local packages and Version Control
- Area Light is culled when Camera Frustrum is outside the lights range
- The characters of the bottom option in the Scene View Debug Draw Mode dropdown menu are cut off
Add comment