-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Description
Unity crashes when attempting to run a scene with SOFA context.
OS : Windows 11
Unity version : 2022.3.22f1
SOFA version : 24.06.00
SOFA Unity version : 23.12.00 (Unity package with DLL)
To Reproduce
- Open Unity project
- Drag SOFAUnity package into Project window and import
- Create a new scene
- Add SOFA context : Tools > SOFAUnity > SOFAContext (if it doesn't crash here, continue)
- Load a SOFA scene : On SofaContext component, select Load SOFA Scene (.scn) file
- Select a SOFA scene ie Assets/SofaUnity/Scene/SofaScenes/liver.scn or Assets/SofaUnity/Scene/SofaScenes/CubeCarving.scn
Current Behavior
Following step 4 (if it already crashed once before) : Unity freezes for a few seconds and then closes without Unity Bug Reporter
Following step 4 (if it does not crash) : Errors regarding failed loading of plugins are output to console, however these plugins are indeed installed within SOFA (error log file included here : error-log-failed-plugins-sofa-unity.txt)
Following step 6 : Unity freezes for a few seconds and then crashes with Unity Bug Reporter
Expected behavior
SOFA Context is created without errors, the SOFA scene is loaded and upon pressing Play, Unity does not crash.