Skip to content

Unity crashes upon attempting to create SOFA context or play scene with a SOFAContext #185

@naomi-rc

Description

@naomi-rc

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

  1. Open Unity project
  2. Drag SOFAUnity package into Project window and import
  3. Create a new scene
  4. Add SOFA context : Tools > SOFAUnity > SOFAContext (if it doesn't crash here, continue)
  5. Load a SOFA scene : On SofaContext component, select Load SOFA Scene (.scn) file
  6. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions