If you are trying to do a unity build with SofaUnity for sofapython scene usage you must :
in the build go to this file :
YourBuild\YourBuild_Data\Plugins\x86_64\python3\site-packages\Sofa\ __int__.py
then go to line 160-170 and replace
sys.stdout.flush()
by
if sys.stdout is not None:
sys.stdout.flush()
if sys.stderr is not None:
sys.stderr.flush()
The bug is liked to this PR sofa-framework/SofaPython3#614
if this is not enough check if all the external file (.msh,.obj...) are inside the build where they should be.
if this is not enough please open a new issue.
This will be solve with the next sofa release.
If you are trying to do a unity build with SofaUnity for sofapython scene usage you must :
in the build go to this file :
YourBuild\YourBuild_Data\Plugins\x86_64\python3\site-packages\Sofa\ __int__.pythen go to line 160-170 and replace
sys.stdout.flush()by
The bug is liked to this PR sofa-framework/SofaPython3#614
if this is not enough check if all the external file (.msh,.obj...) are inside the build where they should be.
if this is not enough please open a new issue.
This will be solve with the next sofa release.