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

Failed to import unitypackage + VIVE OpenXR Plugin still shows 2.2.0 as latest version #16

Open
jonathanjolie opened this issue Feb 6, 2025 · 4 comments

Comments

@jonathanjolie
Copy link

Hi, when I tried to import the latest .unitypackage I got an error:
Failed to import package with error: Couldn't decompress package

Image

I'm currently trying to update the VIVE OpenXR Plugin to the latest version in Unity 6, it says that 2.2.0 is the latest update. I refreshed it and it didn't work. Which leads me to try to reinstall the Plugin and following the steps.

Image

Image

Could you help me out? Thanks.

@babelism
Copy link
Collaborator

babelism commented Feb 7, 2025

Hi,

Can you try

  1. Remove all VIVE OpenXR Plugin 1.0.5 packages and VIVE OpenXR Plugin 2.2.0 package from Package Manager first.
  2. Import VIVE OpenXR Plugin by using ViveOpenXRInstaller

@jonathanjolie
Copy link
Author

Hi,

That worked thanks. Also I tried to download the installer, but somehow the download button did nothing.

Image

After inspecting it though, I found this error, when I clicked on the link to the resource it instantly let me download the unitypackage haha.

Image

After installing it, I tried to build a fresh new VR project (through the Unity template) in Unity 6000.0.37 with the VIVE XR support, it ran just fine in the editor. However, when I built it as an apk and tried to plug and run it locally in vive focus 3, it said installation failed instantly. Here are the logs:

2025-02-07 19:04:04.300 2694-3126 Unity com.htc.vrs.launcher I [FileBrowserInstallWorker] InstallPath: /storage/emulated/0/Download/test-focus3.apk
2025-02-07 19:04:04.300 2694-25401 Unity com.htc.vrs.launcher I [FileBrowserInstallWorker] install file path: /storage/emulated/0/Download/test-focus3.apk
2025-02-07 19:04:04.300 2694-3126 Unity com.htc.vrs.launcher I [ViveInputVirtualButtonLog][OnRightVirtualButtonClicked] HandRole.RightHand clicked, args = HTC.UnityPlugin.Vive.ViveInputVirtualButton+OutputEventArgs
2025-02-07 19:04:04.301 2694-25401 APKInstall...erface_TAG com.htc.vrs.launcher I install /storage/emulated/0/Download/test-focus3.apk
2025-02-07 19:04:04.301 4264-4282 APKInstallerService_TAG com.htc.utillibrary D Binder install: /storage/emulated/0/Download/test-focus3.apk
2025-02-07 19:04:04.301 4264-4282 APKInstallerService_TAG com.htc.utillibrary I Parsing target: /storage/emulated/0/Download/test-focus3.apk
2025-02-07 19:04:04.301 2694-3126 Wave.Essen...enderModel com.htc.vrs.launcher D Hand: R, checkShowModel() show: True, hasFocus: True, connected: True, interacable: True, checkInteractionMode: False, tracked: True
2025-02-07 19:04:04.301 2694-3126 Wave.Essen...enderModel com.htc.vrs.launcher D Update() Hand: R, connect=True, child=9, showBattery=True, hasBattery=True, ShowModel=True, state=LoadingState_LOADED, position =(0.036311, 0.942199, 0.202532)
2025-02-07 19:04:04.301 2694-3126 Wave.Essen...enderModel com.htc.vrs.launcher D Update() Hand: R, model name=__CM__Body, visible=True, position =(-0.011581, 0.900410, 0.129847)
2025-02-07 19:04:04.302 4264-4282 APKInstallerService_TAG com.htc.utillibrary I PackageInfo is null
2025-02-07 19:04:04.303 2694-25401 Unity com.htc.vrs.launcher I [FileBrowserInstallWorker] Install apk failed!
2025-02-07 19:04:04.322 2694-3126 Unity com.htc.vrs.launcher I [FileBrowserInstallWorker] Install failed.

Could you help me out with this again?

@babelism
Copy link
Collaborator

babelism commented Feb 8, 2025

Hi,

"PackageInfo is null" is a common issue of an Android APK. Please visit the Unity official website to review your build settings:
https://docs.unity3d.com/6000.0/Documentation/Manual/android-BuildProcess.html

@JorgeZubog
Copy link

Hello,

I'm encountering the same issue as @jonathanjolie regarding the "Failed to import package with error: Couldn't decompress package."

I’m unable to download the raw file from ViveOpenXRInstaller, and when I manage to obtain the package through a workaround, I get the same error. This issue persists even with older versions of the package.

I’d greatly appreciate any assistance. I’m currently using Unity 2020 as recommended.

Best regards,
Jorge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants