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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
Add comment