MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Mixed Reality Feature Toolkit causes importing error.

Open omanuke opened this issue 4 years ago • 15 comments

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?

omanuke avatar Mar 07 '21 07:03 omanuke

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

dilmerv avatar Mar 08 '21 03:03 dilmerv

@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 avatar Mar 08 '21 19:03 david-c-kline

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.

david-c-kline avatar Mar 09 '21 02:03 david-c-kline

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 avatar Mar 09 '21 03:03 omanuke

@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.

omanuke avatar Mar 09 '21 03:03 omanuke

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 avatar Mar 10 '21 18:03 david-c-kline

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

david-c-kline avatar Mar 11 '21 01:03 david-c-kline

@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:

  • create unity 3d project by 2019.4.19f.
  • open Mixed Reality Feature Tool for that project and checked only 'Mixed reality toolkit Examples(v2.6)' image image

omanuke avatar Mar 16 '21 04:03 omanuke

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

keveleigh avatar Mar 16 '21 16:03 keveleigh

@omanuke,

Can you send me the log file that is in c:\users<your name>\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!

david-c-kline avatar Mar 23 '21 19:03 david-c-kline

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

omanuke avatar Mar 25 '21 01:03 omanuke

@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 avatar Apr 03 '21 12:04 laultman

@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.

laultman avatar Apr 03 '21 13:04 laultman

@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.

omanuke avatar Apr 08 '21 11:04 omanuke

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.

stale[bot] avatar Apr 17 '22 06:04 stale[bot]

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!

IssueSyncBot avatar Jan 13 '24 02:01 IssueSyncBot