Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2017.4.X, 2018.2.X, 2018.3.X
Votes
0
Found in
2017.4.4f1
Issue ID
1083239
Regression
No
"Marshal.SizeOf" causes "ArgumentException" errors in IL2CPP builds
Reproduction steps:
1. Open "IL2CPPMarshalRepro.zip" project
2. Open "Scene" scene
3. Enter Play Mode
4. See Console window output (Everything has a value, no exception errors)
5. Build and Run for WebGL
6. Open your browsers Console window ("Ctrl" + "Shift" + "J" for Chrome)
7. See error "Failure: Type 'GameObjectData' cannot be marshaled as an unmanaged structure; no meaningful size or offset can be computed."
Fixed in: 2019.1.0a8, 2018.3.0b9, 2018.2.16f1, 2017.4.15f1
Expected Result: Console output is the same as in Editor / No exception errors occur
Actual Result: Errors appear in the Browser Console
Reproduced with: 2019.1.0a2, 2018.3.0b3, 2018.2.9f1, 2018.1.9f2, 2017.4.11f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Build fails when building with ILCPP Scripting Backend and ARMv7 as the Target Architecture
- Textures turn black in Player when they are referenced by a script instance
- [Android] Virtual device crashes with "Scudo ERROR: invalid chunk state when deallocating address" error in Firebase Test Lab when Optimized Frame Pacing is enabled
- Particle System does not resume when its Culling Mode is set to "Pause" or "Pause and Catch-up," and particle position simulate in world space
- "Custom Render Queue" field cannot be set above "2000" when changing it in the Inspector window using Debug mode
Add comment