com.unity.netcode.gameobjects
com.unity.netcode.gameobjects copied to clipboard
Upgrading Multiplayer PlayMode to 1.3.0 - Assembly Loading Failure
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
- Open or Create a project in Unity 6 Preview
- Install Multiplayer Services 1.0.0 and Netcode for GameObjects 2.0.0
- Install the "Multiplayer Playmode" 1.2.2 package from the Package Manager
- Upgrade PlayMode to 1.3.0 through the Packagae Manager
- After installation, the error will be shown in the console
Environment
- OS: Microsoft Windows 11 Pro (Version 10.0.22631 Build 22631)
- Unity Version: 6000.0.22f1
- Netcode Version: Netcode for GameObjects 2.0.0 >> Multiplayer Play Mode 1.3.0
Additional Context
Some additional testing:
- Creating an empty game project and installing NGO 2.0.0, PlayMode 1.3.0 and Services 1.0.0 DOES NOT cause this issue
- If you however install PlayMode 1.2.2 and then upgrade it, it will happen
- Removing the package and downgrading, fixes the issue
- A subsequent upgrade will cause the issue again
Hi @jglassacc Thank you for reporting the issue. Our team is currently working on a fix for it. Stay tuned for our next MPPM release!
Following up on this, it should be fine when downloading newer version (for example 1.4.0). I will close this issue but feel free to reopen if it somehow still persist