microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

Mixed Reality Feature Toolkit causes importing error. #9459

Closed omanuke closed 8 months ago

omanuke commented 3 years ago

Describe the bug

When I import MRTK example package(it imports dependent packages, like MRTK foundation and etc also) from Mixed Reality Feature Toolkit, unity shows error log for all packages like below.

[xxx\com.microsoft.mixedreality.toolkit.xxx.tgz] is not a valid package tarball

Environments are: Unity 2019.4.19f Mixed reality Feature Tool for Unity v1.0.2.103.0 Beta Target MRTK version is 2.6.

Is there anyone who can use Mixed Reality Feature Toolkit to import MRTK packages succesfully?

dilmerv commented 3 years ago

Yes I was able to import the packages successfully. I did a video about it at here

david-c-kline commented 3 years ago

@omanuke, did you receive any errors from the Feature Tool? Can you confirm the sizes of the packages that were copied into your project's Packages/MixedReality folder?

Thanks!

david-c-kline commented 3 years ago

Please try the new release of the Feature Tool at https://aka.ms/mrfeaturetool. It adds a new diagnostic log and better handling of downloads that fail with 0 bytes downloaded.

omanuke commented 3 years ago

I tried MRFeatureTool-1.0.2103Beta(which I used before) and MixedRealityFeatureTool-1.0.2103.1-Beta(newly downloaded) for new unity project. with old toolkit image image

with new one image image

omanuke commented 3 years ago

@dilmerv Thank u for ur info. I watched your video but some situations may be different(I didn't use OpenXR, used MRTK, unity version etc) Though, your info will be helpful when I try to use OpenXR. Thanks.

david-c-kline commented 3 years ago

There is a new version of the Feature Tool that is scheduled for this week at adds detection of zero length files as well as some additional diagnostic logging.

david-c-kline commented 3 years ago

v1.0.2103.2 has been released and should no longer attempt to import zero length package files. Updated version is at https://aka.ms/mrfeaturetool

omanuke commented 3 years ago

@dilmerv I tried v1.0.2103.2beta. It can download successfully but raises error like 1.0.2103.1. Unity project tree is like this. Is this expected behaviour? What I did are:

keveleigh commented 3 years ago

@davidkline-ms Report above that v1.0.2103.2beta might not have fully fixed this.

david-c-kline commented 3 years ago

@omanuke,

Can you send me the log file that is in c:\users\\AppData\Local\MixedRealityFeatureTool? It might help identify the issue.

Based on the error message, Unity is claiming there is a missing dependency. Based on your images, that seems incorrect.

Also, if you are willing, a copy of the manifest.json file would be helpful as well. It is possible something did not get written correctly.

Thank you!

omanuke commented 3 years ago

Here. But they seems OK. Do I have to add some entries for package server? MixedRealityFeatureTool.zip

laultman commented 3 years ago

@davidkline-ms Reading this thread, looks like you are the person responsible for issues with the Feature Tool. I left a bug report #9618 on Feature Tool failing to add Mixed Reality Toolkit to Unity main menu. Hope you could take a glance at it. :)

laultman commented 3 years ago

@davidkline-ms I did more testing and found the issue is related to the Azure Object Anchors feature selection. When selected at the beginning of a new project, this feature fails with multiple error and warnings causing the Feature Tool process to fail to complete. See #9618 for more detailed results and errors list.

omanuke commented 3 years ago

@davidkline-ms , Do u have some plan to fix this issue? Or if u know environments on which this tool works perfectly like Unity version or some, please tell me it. I'll try it.

stale[bot] commented 2 years ago

This issue has been marked as stale by an automated process because it has not had any recent activity. It will be automatically closed in 30 days if no further activity occurs. If this is still an issue please add a new comment with more recent details and repro steps.

IssueSyncBot commented 8 months ago

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!