Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.0f3
Issue ID
905798
Regression
No
Unity crashes when marshalling a C++ COM interface instantiated in C# back to C++
To reproduce:
1. Download the project, attached by user (TestInteropProject.zip)
2. Add {path_to_project}\Assets\Plugins\x86_64 to the PATH
3. Open the project
4. Open "TestScene" scene
5. Select Main Camera
6. In the Inspector, check on the Marshal COM To Cpp checkbox
7. Enter Play mode
Expected: Unity does not crash
Reproduced in 5.4.0f3, 5.4.5p2, 5.5.4f1, 5.6.1p2, 2017.1.0b8, 2017.2.0a2
Coud not check for regression, there are many errors in 5.3 and earlier
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment