Problems creating a standalone executable #249
Replies: 2 comments 2 replies
-
|
Hello, InfinyTech3D dev here. So, if I understand correctly, you are working with a SofaUnity v25.12 release that already includes the DLLs, and you also have a clone of this repository in your project: Could you check if the
If the folder is present, then check deeper inside it and verify that:
If the folder is missing, try copying the You should preserve the same hierarchy as in your Unity project (basically treating the You can also check if the SofaUnity folder was correctly included in the build by doing the same verification process. Let me know if that fixes the issue or not, and we can investigate further if needed. |
Beta Was this translation helpful? Give feedback.
-
|
Hi Erik, thanks for your reply! We are importing the release version of SofaUnity v25.12 from march 20. We imported that package but we replaced all the dependencies of the x64 folder with those from our SOFA v25.12 (built from src), even the SofaPython3 and its site-packages because we were having problems with dependencies (the release depends on python3.13). Additionally we compiled the 2 plugins from your company required for the needle insertion task: So a first thing to point out is that creating an empty unity project and importing the SofaUnity v25.12 released package does not work for us, we must replace those files I mentioned. We are able to run our .py scenes inside unity, even those with the custom collision pipeline with a viscoelastic constitutive law. At some point we had to create an empty License folder in the We were focused on improving a lot the visuals of our project and we are very pleased with the results. Now, i will try again the creation of the .exe, maybe try to catch any bug from our side. Please let me come back with a detailed reply on the status of our executable. Best Regards |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We are experiencing some problems when creating the executable of our project (SofaUnity v25.12). One important characteristic of our project is that we are using your custom CollisionAlgorithm plugin.
We tested to create a project and load the NeedleInsertion example of the CollisionAlgorithm, it runs well in the game mode. When we publish the build and try to run it, we get some errors such this one:
Filename: C:/build/output/unity/unity/Runtime/Export/Debug/Debug.bindings.cs Line: 213)
Component: 'VisualStyle' under node: 'VisualStyle - VisualStyle' not reconnected to a SOFA component. GameObject will be removed.
UnityEngine.Debug:ExtractStackTraceNoAlloc (byte*,int,string)
UnityEngine.StackTraceUtility:ExtractStackTrace () (at C:/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:35)
UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at C:/build/output/unity/unity/Runtime/Export/Logging/DebugLogHandler.cs:9)
UnityEngine.Logger:Log (UnityEngine.LogType,object) (at C:/build/output/unity/unity/Runtime/Export/Logging/Logger.cs:60)
UnityEngine.Debug:LogWarning (object) (at C:/build/output/unity/unity/Runtime/Export/Debug/Debug.bindings.cs:213)
Has anyone faced a similar issue? I searched for similar issues in the forum but there was nothing related.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions