Skip to content

chore: update sdk package dependencies #1565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 6, 2022
Merged

chore: update sdk package dependencies #1565

merged 5 commits into from
Jan 6, 2022

Conversation

0xFA11
Copy link
Contributor

@0xFA11 0xFA11 commented Jan 5, 2022

A user discovered (#1558) that we don't depend on physics and physics2d packages from the SDK package atm.
We have NetworkRigidbody and NetworkRigidbody2D components in the SDK which have deps to those packages.
Even though we might move high-level components into a separate package later, currently we should add those deps to make them explicit and clear to avoid confusion.

JIRA: MTT-2033

PR Checklist

  • Have you added a backport label (if needed)? For example, the type:backport-release-* label. After you backport the PR, the label changes to stat:backported-release-*.
  • Have you updated the changelog? Each package has a CHANGELOG.md file.
  • Have you updated or added the documentation for your PR? When you add a new feature, change a property name, or change the behavior of a feature, it's best practice to include related documentation changes in the same PR or a link to the documenation repo PR if this is a manual update.

Changelog

com.unity.netcode.gameobjects

  • Added physics & physics2d dependencies

@0xFA11 0xFA11 requested review from ShadauxCat and removed request for mattwalsh-unity January 5, 2022 22:02
@0xFA11 0xFA11 enabled auto-merge (squash) January 5, 2022 22:14
@@ -7,8 +7,10 @@
"dependencies": {
"com.unity.modules.ai": "1.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still wonder why we depend on AI

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very good question. we used to have NetworkNavMeshAgent but we no longer have it. I'll double check and potentially remove AI package dependency.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't, it's gone!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bravo - the world is now a slightly better place

@0xFA11 0xFA11 disabled auto-merge January 6, 2022 00:13
@0xFA11 0xFA11 changed the title chore: add physics package dependencies chore: update sdk package dependencies Jan 6, 2022
@0xFA11 0xFA11 enabled auto-merge (squash) January 6, 2022 00:40
@0xFA11 0xFA11 merged commit 2445a61 into develop Jan 6, 2022
@0xFA11 0xFA11 deleted the chore/physics-deps branch January 6, 2022 01:08
mollstam pushed a commit to Keepsake-Games/com.unity.netcode.gameobjects that referenced this pull request Feb 13, 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.

3 participants