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
- [Android] The Player freezes when disabling Bluetooth while connected to the headphones
- Addressable bundles are not retrieved from the cache when a WebGL Player is refreshed
- Sprites are incorrectly occluded by Sprite Physics Shape culling when behind in sorting order
- CPU usage is increased when the Editor is idle with the ProBuilder Package installed
- Unstable lighting when additional light sources are added in Shader Graph nodes
Add comment