Loading Python file in SofaUnity #216
Replies: 3 comments 2 replies
|
Hi, we are working on bringing back the python support. It should be fixed as soon as the PR #222 and it's dependencies in SOFA are merged. Best regards |
|
Hi @BinhTran17 , could you test the last version v25.12: https://github.com/InfinyTech3D/SofaUnity/releases/tag/SofaUnity_v25.12.00-URP Best regards, |
|
Hi @epernod , I'm hitting the exact same issue as @BinhTran17 on v25.12 with Python 3.13. |
Uh oh!
There was an error while loading. Please reload this page.
Hi, I have a simulation in SOFA framework, and I want to put it in Unity. I have 2 files, one
.scnand one.py, and 2 corresponding.mshfiles, all put in this GDrive folder. The files work well inSOFA 24.12.00but I can't get the Python one to work in Unity.2022.3and6.2) and SofaUnity versions (24.12,25.06, and fromUnity Assets store)Python 3.12.1,numpy 2.3.5,scipy 1.16.3, andpybind11 2.12.0.Demo_01_LiverInteractionandDemo_02_LiverInteraction-HDfromInteractionfolder, andLiverPyhonandLiverPyhonControllerfromPythonfolderFollowing are my findings
.pyfiles, only showsDefaultVisualManagerLoopandDefaultAnimationLoopwhen load.Demo_01andDemo_02of interaction don't have lighting. Python demo scenes don't move or interact. [Ref A]SofaContextonly includeDefaultVisualManagerLoop,DefaultAnimationLoop, andSofaCollisionPipeline. Loading .py files yield same problem asSOFA 24.12.00. [Ref B]SOFA 24.12.00, but a texture loading error makes everything pink. Cannot see the animation. [Ref C].scnor.pyfiles, theScene Filenamefield doesn't change.Screenshot References
All reactions