Skip to content

Overwrite packages during consolidation step#6

Merged
RoboDoig merged 3 commits intoemotional-cities:mainfrom
RoboDoig:issue-4
Sep 26, 2023
Merged

Overwrite packages during consolidation step#6
RoboDoig merged 3 commits intoemotional-cities:mainfrom
RoboDoig:issue-4

Conversation

@RoboDoig
Copy link
Copy Markdown
Contributor

This pull request addresses issue #4. Previously, during the package consolidation step, the BonsaiWorkflowEditor script would only copy new packages from the Bonsai environment, i.e. those with a name that was not present in the Unity packages. This meant that updates to existing Bonsai packages from the editor would be ignored in the Unity packages. The safer option is just to overwrite all packages so that the Unity packages are guaranteed to match those in the Bonsai installation.

  • Fixes Replacing project libraries in Unity #4
  • Upgrades the default Bonsai installation to 2.7
  • Adds an auto-start toggle to the BonsaiWorkflow class so that users can choose to initiate the workflow after the Unity scene has started, or keep the original behaviour of starting with the scene.

This is the safer option as any dependency changes in the Bonsai editor will now be updated during the consolidate packages step, even if they are already included in the Unity packages.
@glopesdev glopesdev self-requested a review September 26, 2023 14:37
@RoboDoig RoboDoig merged commit 45503da into emotional-cities:main Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replacing project libraries in Unity

2 participants