You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unity crashes upon attempting to create SOFA context or play scene with a SOFAContext #185
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
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.
changed the title [-]Unity upon attempting to create SOFA context or play scene with a SOFAContext[/-][+]Unity crashes upon attempting to create SOFA context or play scene with a SOFAContext[/+]on Jul 23, 2025
Activity
[-]Unity upon attempting to create SOFA context or play scene with a SOFAContext[/-][+]Unity crashes upon attempting to create SOFA context or play scene with a SOFAContext[/+]