Tried to fix the probleme it seems to come from the raycaster script
m_selectedTriID = m_sofaRC.castRay(originS, directionS);
if (m_selectedTriID >= 0)
{
i have this error coming from it :

SofaRayCasterAPI::Create Tool returns error: -401: Ray casting tool not found.
UnityEngine.Debug:LogError (object)
SofaUnityAPI.SofaRayCasterAPI:.ctor (intptr,int,string,single) (at Assets/SofaUnity/Core/Plugins/SofaUnityAPI/ToolsAPI/SofaRayCasterAPI.cs:36)
SofaUnity.SofaRayCaster:CreateSofaRayCaster_impl () (at Assets/SofaUnity/Core/Scripts/Core/Tools/SofaRayCaster.cs:279)
SofaUnity.SofaMouseInteractor:Start () (at Assets/SofaUnity/Core/Scripts/Modules/Tools/SofaMouseInteractor.cs:130)
After trying to modify stuff and investigate couldn't do much from my unity side
Tried to fix the probleme it seems to come from the raycaster script
i have this error coming from it :
After trying to modify stuff and investigate couldn't do much from my unity side