Skip to content

[src] Add option to reload a SOFA scene which is already registered in the SofaContext. Will clear on the SOFA side, reload and then reconnect objects on the Unity side#236

Merged
PierreFonda3D merged 1 commit intomainfrom
add_reload_option
Mar 3, 2026
Merged

Conversation

@epernod
Copy link
Copy Markdown
Contributor

@epernod epernod commented Feb 18, 2026

SofaUnity-URP.Package.v25.12.-.Example.02.Caduceus.-.Windows.Mac.Linux.-.Unity.6.0.6000.0.55f1.DX11.2026-02-18.09-43-20.-.0.00.13-0.00.43.mp4

You can't see in the video but I'm editing the XML scene file to add the stick collision model


fix #233
SOFAU3D-3 #done #time 1h

…n the SofaContext. Will clear on the SOFA, reload and then reconnect objects on the Unity side
@epernod epernod added pr: new feature pr: status to review To notify reviewers to review this pull-request labels Feb 18, 2026
@epernod epernod changed the title [src] Add option to reload a SOFA scene which is already registered in the SofaContext. Will clear on the SOFA, reload and then reconnect objects on the Unity side [src] Add option to reload a SOFA scene which is already registered in the SofaContext. Will clear on the SOFA side, reload and then reconnect objects on the Unity side Feb 19, 2026
@epernod epernod requested a review from PierreFonda3D March 2, 2026 13:34
@PierreFonda3D
Copy link
Copy Markdown
Contributor

Works well on all scenes.

Just a small detail: when you modify the XML, it correctly updates the Unity side. However, if you delete a node on the Unity side , you can’t restore it by hitting "reload" again i will open an issue about that.

@PierreFonda3D PierreFonda3D merged commit 7ba721e into main Mar 3, 2026
@PierreFonda3D PierreFonda3D deleted the add_reload_option branch March 3, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new feature pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SOFAU3D-3 [SofaContext] Can't update a scene without suppress and reopen the full scene

2 participants