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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment