Unity-Technologies / com.unity.netcode.gameobjects

Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
MIT License
2.13k stars 433 forks source link

Upgrading Multiplayer PlayMode to 1.3.0 - Assembly Loading Failure #3090

Open jglassacc opened 1 day ago

jglassacc commented 1 day ago

Description

After upgrading Multiplayer PlayMode 1.3.0, an assembly conflict exists causing non-compilation.

Assembly with name 'Unity.Multiplayer.Playmode.Common.Editor' already exists (Packages/com.unity.multiplayer.playmode/Common/Editor/Unity.Multiplayer.Playmode.Common.Editor.asmdef)

Assembly with name 'Unity.Multiplayer.Playmode.Common.Editor' already exists (Packages/com.unity.multiplayer.playmode/Common/Editor/Unity.Multiplayer.PlayMode.Common.Editor.asmdef)

Assembly with name 'Unity.Multiplayer.Playmode.Common.Runtime' already exists (Packages/com.unity.multiplayer.playmode/Common/Runtime/Unity.Multiplayer.Playmode.Common.Runtime.asmdef)

Assembly with name 'Unity.Multiplayer.Playmode.Common.Runtime' already exists (Packages/com.unity.multiplayer.playmode/Common/Runtime/Unity.Multiplayer.PlayMode.Common.Runtime.asmdef)

In the later part of each of the assemblies, there are duplicates: Unity.Multiplayer.Playmode.Common.Runtime.asmdef Unity.Multiplayer.PlayMode.Common.Runtime.asmdef

Reproduce Steps

  1. Open or Create a project in Unity 6 Preview
  2. Install Multiplayer Services 1.0.0 and Netcode for GameObjects 2.0.0
  3. Install the "Multiplayer Playmode" 1.2.2 package from the Package Manager
  4. Upgrade PlayMode to 1.3.0 through the Packagae Manager
  5. After installation, the error will be shown in the console

Environment

Additional Context

Screenshot 2024-10-08 141331

jglassacc commented 1 day ago

Some additional testing: