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
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
- Crash on various stack traces when using Texture2D.CreateExternalTexture() while rendering
- Clicking on section text in Node Library > Context folder throws NullReferenceException errors
Add comment