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++

Mono

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.