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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment