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
I am using SofaUnity_v24.06.00 with Unity version 2021.3.19f1. When I try to load a .py scene file, I enable SofaPython3 in the Plugin List, but Unity throws the following error (see screenshot below):
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using SofaUnity_v24.06.00 with Unity version 2021.3.19f1. When I try to load a .py scene file, I enable SofaPython3 in the Plugin List, but Unity throws the following error (see screenshot below):

SofaContextAPI::loadPlugin: C:/Workdir/Develop/2021.3.19/SOFANormal/Assets/SofaUnity/Core/Plugins/Native/x64//SofaPython3.dll, method returns: -12: Sofa plugin loading failed. Cause: invalid loading.
UnityEngine.Debug:LogError (object)
SofaUnityAPI.SofaContextAPI:loadPlugin (string) (at Assets/SofaUnity/Core/Plugins/SofaUnityAPI/SofaContextAPI.cs:240)
SofaUnity.PluginManagerInterface:LoadPlugins () (at Assets/SofaUnity/Core/Scripts/Core/System/PluginManager.cs:254)
SofaUnity.SofaContextEditor:PluginSection (SofaUnity.SofaContext) (at Assets/SofaUnity/Core/Scripts/Editor/SofaContextEditor.cs:147)
SofaUnity.SofaContextEditor:OnInspectorGUI () (at Assets/SofaUnity/Core/Scripts/Editor/SofaContextEditor.cs:113)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
My sofa.ini file looks like this

Is anyone else facing a similar issue?
Best,
Marlon
Beta Was this translation helpful? Give feedback.
All reactions