Unity-Technologies / com.unity.multiplayer.docs

Open Source documentation for Unity Multiplayer, which includes Netcode for GameObjects, the Unity Transport Package, Multiplayer Tools and Educational references and Sample Games such as Boss Room.
https://docs-multiplayer.unity3d.com/
Other
643 stars 193 forks source link

Multiplayer Play Mode and git Submodules #1325

Open Paolofix21 opened 3 weeks ago

Paolofix21 commented 3 weeks ago

Hello,

I wanted to try this new feature which seemed nice in theory, but I smashed my head against a wall discovering that it has issues with packages that are installed as git submodules.

My project is a local repository with some packages installed as submodules, and when I try to enable a virtual player, it logs errors regarding those packages, specifically:

An error occurred while resolving packages:
Project has invalid dependencies:
    Camera System: Package name 'Camera System' is invalid.
    Character Controllers: Package name 'Character Controllers' is invalid.
    Izinspector: Package name 'Izinspector' is invalid.

Click on Retry to relaunch Unity and reopen your project.

Clicking on Continue or Retry doesn't solve it.

I'm not sure whether the issue is with embed packages in general, or only with those that are git submodules.

While you may fix it (or may not most probably if this package ends up like Kinematica) is there a temporary solution that I can try?

Kind regards.

cdmazom commented 3 weeks ago

Hello!

What version are you using? We recently fixed an issue with embed packages that sounds very similar. That's in 1.3.0-pre.1 and 1.2.2.