MixedRealityToolkit / MixedRealityToolkit-Unity

This repository holds the third generation of the Mixed Reality Toolkit for Unity. The latest version of the MRTK can be found here.
BSD 3-Clause "New" or "Revised" License
411 stars 111 forks source link

Assembly with name 'Microsoft.MixedReality.Toolkit.Tools' already exists (Packages/com.microsoft.mixedreality.toolkit.tools/MRTK.Tools.asmdef) #245

Closed IssueSyncBot closed 1 year ago

IssueSyncBot commented 1 year ago

Original issue opened by:

@cherrychocolate cherrychocolate


Describe the bug

The following errors show up after the import of the latest MRTK3 package Assembly with name 'Microsoft.MixedReality.Toolkit.Tools' already exists (Packages/com.microsoft.mixedreality.toolkit.tools/MRTK.Tools.asmdef) Assembly with name 'Microsoft.MixedReality.Toolkit.Tools' already exists (Packages/com.microsoft.mrtk.tools/MRTK.Tools.asmdef)

An error occurred while resolving packages:
  Project has invalid dependencies:
    com.microsoft.mixedreality.sceneunderstanding: zlib: unexpected end of file
    com.microsoft.mixedreality.toolkit.extensions: zlib: unexpected end of file
    com.microsoft.mixedreality.toolkit.gpustats: zlib: unexpected end of file
A re-import of the project may be required to fix the issue or a manual modification of D:/SDK/SDK_Project/MRTK_3/Packages/manifest.json file.

I've tried to re-import the package several times.

To reproduce

Import the latest MRTK3 package

Screenshots

d049e47d22ca9eac362378426a199185 1666323523459_8AACC4FF-AAAD-4885-9045-F358FFD693B1

Your setup (please complete the following information)

Target platform (please complete the following information)


ISSUE MIGRATION

Issue migrated from: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/11125

IssueSyncBot commented 1 year ago

Original comment by:

@Zee2 Zee2


Clarifying; it doesn't look like this is MRTK3, correct? Your Feature Tool is showing MRTK3 0/16, and you have v2.8 installed for most of the other packages. In addition, the Foundation is MRTK v2 only and is not to be combined with any MRTK3 packages.

IssueSyncBot commented 1 year ago

Original comment by:

@keveleigh keveleigh


Ahh @davidkline-ms, looks like the MRTK3 Tools package assembly created in #10829 conflicts with the MRTK2 assembly. We should either try to make it a true 2.x -> 3.x version of the "same" package or potentially rename the MRTK3 assembly to not conflict. Side-by-side installation should be possible imo.

IssueSyncBot commented 1 year ago

Original comment by:

@keveleigh keveleigh


The zlib: unexpected end of file logs often come from incomplete downloads from the Mixed Reality Feature Tool (also ping @davidkline-ms and @MaxWang-MS). Any chance you could grab the logs for us please? https://learn.microsoft.com/windows/mixed-reality/develop/unity/configuring-feature-tool#diagnostic-settings

IssueSyncBot commented 1 year ago

Original comment by:

@Shanksmate Shanksmate


Clarifying; it doesn't look like this is MRTK3, correct? Your Feature Tool is showing MRTK3 0/16, and you have v2.8 installed for most of the other packages. In addition, the Foundation is MRTK v2 only and is not to be combined with any MRTK3 packages.

Hi, sorry to sorta throw this in here. Please, does this mean the MRTK Figma Bridge should not be combined with MRTK3? The Feature tool lists the Foundation package as a dependency and it leads to a host of conflicts. I was really looking forward to using the Figma Bridge with the MRTK3 Figma Toolkit.

MRTK3 errors

IssueSyncBot commented 1 year ago

Original comment by:

@Zee2 Zee2


Hi there,

No, the Figma Bridge is currently MRTK2 only. We don't currently support mixing any packages between MRTK2 and 3.