Skip to content
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

Upgrading Multiplayer PlayMode to 1.3.0 - Assembly Loading Failure #3090

Open
jglassacc opened this issue Oct 8, 2024 · 2 comments
Open
Labels
priority:high stat:imported Status - Issue is tracked internally at Unity type:bug Bug Report

Comments

@jglassacc
Copy link

jglassacc commented Oct 8, 2024

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

  • 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

Screenshot 2024-10-08 141331

@jglassacc jglassacc added stat:awaiting triage Status - Awaiting triage from the Netcode team. type:bug Bug Report labels Oct 8, 2024
@jglassacc
Copy link
Author

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

@fluong6 fluong6 added stat:imported Status - Issue is tracked internally at Unity priority:high and removed stat:awaiting triage Status - Awaiting triage from the Netcode team. labels Oct 21, 2024
@fluong6
Copy link
Collaborator

fluong6 commented Oct 21, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:high stat:imported Status - Issue is tracked internally at Unity type:bug Bug Report
Projects
None yet
Development

No branches or pull requests

2 participants