Mixedrealitytoolkit-unity: "Couldn't decompress package" error when importing

Created on 5 Aug 2016  Â·  7Comments  Â·  Source: microsoft/MixedRealityToolkit-Unity

I have cloned and successfully built HoloToolkit-Unity. However, when I try to do Assets -> Import Package -> Custom Package… I get the following error:

Failed to import package with error: Couldn't decompress package

I've rebuilt it twice. I've also tried moving it to various places on my hard disk with no luck. Any ideas whats up? Here's a link to the package file it produced.

Question

All 7 comments

@anandx how did you create your unity package?

I just tried the following and it worked:

  1. Opened the cloned HoloToolkit-Unity in Unity
  2. Right click on Assets > Export package
  3. Give it a name and export
  4. Used a different Test project
  5. Right click on Assets > Import Package > Custom Package
  6. Selected the previously created package > Open
  7. Clicked Import in the Import dialog box.
  8. Everything worked.

I suspect something was created incorrectly in your unity package.

Hmm... I am using those exact steps but at step 6 I get the compression
error. I have retried this process 3x including fresh clone from git.

Might be a broader Unity related error? I'm fairly new to Unity, wonder if
anyone has suggestions of what to try?

On Thu, Aug 4, 2016 at 6:34 PM Neeraj Wadhwa [email protected]
wrote:

I just tried the following and it worked:

  1. Opened the cloned HoloToolkit-Unity in Unity
  2. Right click on Assets > Export package
  3. Give it a name and export
  4. Used a different Test project
  5. Right click on Assets > Import Package > Custom Package
  6. Selected the previously created package > Open
  7. Clicked Import in the Import dialog box.
  8. Everything worked.

I suspect something was created incorrectly in your unity package.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/HoloToolkit-Unity/issues/157#issuecomment-237703836,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACaKV4KiUCYUgfiHSyMx5xoySvOKIMdGks5qcmkNgaJpZM4JdLjj
.

What version of Unity are you using?

I'm using the latest, Unity HTP 5.4.0f1 :/

Would love any ideas/suggestions

You might want to try a more selective export. Instead of exporting everything, limit it to just the features that you need in your app. Or, go folder by folder, to see if there is one particular feature set (like 'Spatial Mapping' or 'Sharing') that could be causing the error.

I was using Boot Camp on a mac laptop and the problems went away when I booted natively into Windows and did a fresh rebuild :stuck_out_tongue_closed_eyes:

Was this page helpful?
0 / 5 - 0 ratings