Physics 2D dependency in version 2.0.0
Physics 2D module dependency is missing in package.json. I understand that this is nitpicky and I would make a pull request myself, but it would take me more than 20 mins.
Thank you.
Is this causing any issues in your project? Did you try to import Netcode for GameObjects and run into exceptions? The Physics 2D module should be part of every Unity project already by default.
As I said it's really nitpicky. It threw errors in NetworkRigidbody2D when I imported because the project didn't have the module. The package.json includes all the other modules you need except for this one.
Fixed in new release.
This is an issue again with with the release of 2.0.0 in the file NetworkRigidBodyBase.cs.
The components (NetworkRigidbody or NetworkRigidbody2D) will not be defined if the 3D/2D physics packages are not installed. NetworkRigidbodyBase will not be defined if neither package is installed too. This is intended behaviour. To gain access to NetworkRigidbodyBase you must install one of the two physics packages.