Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.1f1
Issue ID
836038
Regression
No
Crash at "mono_string_new " when using Marshal.PtrToStructure
To reproduce:
1. Open the attached project
2. Download the attached "ST00A.CHC" file
2. Open the "TestScript" script
3. On line 67 of the script change the argument of TestBadStructB() method to the location where you have stored the"ST00A.CHC" file
4. Attach the script to any game object
5. Play the scene
Expected: Unity does not crash when using Marshal.PtrToStructure
Actual: Unity does crash when using Marshal.PtrToStructure
Reproduced on: 5.5.0b6, 5.4.1p3, 5.3.6p6, 5.2.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][Vulkan] Crash on /system/lib/libandroid.so (ANativeWindow_setBuffersGeometry+4) when the Vulkan Graphics API is used
- Event handlers are preventing operations when trying to copy or paste HTML text in the WebGL Player
- [macOS] Crash on __pthread_kill when Exporting a Package while another export is in progress
- Crash on TransformAccessDestroyCallback when removing a URP Decal Projector component from a parent GameObject that had a URP Decal Projector child GameObject
- [ShaderGraph][URP Sample] Shader error in 'Shader Graphs/Screen_Graph': 'SHADERGRAPH_BAKED_GI'
Add comment