Fusion 360 closes unexpectedly when AddIn is built with CLR support

Fusion 360 closes unexpectedly when AddIn is built with CLR support

vijay.shindeSLE5F
Enthusiast Enthusiast
983 Views
1 Reply
Message 1 of 2

Fusion 360 closes unexpectedly when AddIn is built with CLR support

vijay.shindeSLE5F
Enthusiast
Enthusiast

We created a sample C++ Addin in Fusion 360 and it worked properly. Message box "Hello addin" & "Stop addin" are displayed on start and stop command.

 

When we edited the Addin project setting to allow "Common Language Runtime Support (/clr)" then observed Error report when Fusion 360 is closed. This time too message box "Hello addin" & "Stop addin" are displayed on start and stop command.

 

Issue is not observed if CLR support setting is set to "No Common Language Runtime Support".

Please refer to attached screenshots.

 

The Addin project is present in default directory where it is created e.g. "%AppData%\Autodesk\Autodesk Fusion 360\API\AddIns"

0 Likes
Accepted solutions (1)
984 Views
1 Reply
Reply (1)
Message 2 of 2

chris.monachanZWSCF
Enthusiast
Enthusiast
Accepted solution

I've had some issues with CLR. I had to give up in the end. (Although I did get it to work if I hosted the CLR myself, but that was a massive hassle).

https://forums.autodesk.com/t5/fusion-360-api-and-scripts/crash-on-fusion-shutdown-after-calling-net...

0 Likes