Jump to content

Does vive wave xr plugin 5.3.2-r.4 support unity 2020.3 ?


waveSk

Recommended Posts

I choose WaveXR plug-in provider and build with unity2020.3 + WaveXR 5.3.2-r.4, get errors:


> Configure project :launcher
WARNING: The option setting 'android.enableR8=false' is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
> Could not resolve all files for configuration ':launcher:releaseRuntimeClasspath'.
   > Failed to transform wvr_ime_client-.aar (:wvr_ime_client:) to match attributes {artifactType=android-classes-jar, org.gradle.status=integration, org.gradle.usage=java-runtime}.
      > Execution failed for AarToClassTransform: E:\zhanghq21\unityProgram\My project (4)\Temp\gradleOut\unityLibrary\libs\wvr_ime_client.aar.
         > error in opening zip file
   > Failed to transform wvr_unity_plugin_2017-.aar (:wvr_unity_plugin_2017:) to match attributes {artifactType=android-classes-jar, org.gradle.status=integration, org.gradle.usage=java-runtime}.
      > Execution failed for AarToClassTransform: E:\zhanghq21\unityProgram\My project (4)\Temp\gradleOut\unityLibrary\libs\wvr_unity_plugin_2017.aar.
         > error in opening zip file
   > Failed to transform wvr.common.utils-.aar (:wvr.common.utils:) to match attributes {artifactType=android-classes-jar, org.gradle.status=integration, org.gradle.usage=java-runtime}.
      > Execution failed for AarToClassTransform: E:\zhanghq21\unityProgram\My project (4)\Temp\gradleOut\unityLibrary\libs\wvr.common.utils.aar.
         > error in opening zip file
   > Failed to transform vr.client.abi-.aar (:vr.client.abi:) to match attributes {artifactType=android-classes-jar, org.gradle.status=integration, org.gradle.usage=java-runtime}.
      > Execution failed for AarToClassTransform: E:\zhanghq21\unityProgram\My project (4)\Temp\gradleOut\unityLibrary\libs\vr.client.abi.aar.
         > error in opening zip file
   > Failed to transform wvr_client-.aar (:wvr_client:) to match attributes {artifactType=android-classes-jar, org.gradle.status=integration, org.gradle.usage=java-runtime}.
      > Execution failed for AarToClassTransform: E:\zhanghq21\unityProgram\My project (4)\Temp\gradleOut\unityLibrary\libs\wvr_client.aar.
         > error in opening zip file
   > Failed to transform wvr_permission_client-.aar (:wvr_permission_client:) to match attributes {artifactType=android-classes-jar, org.gradle.status=integration, org.gradle.usage=java-runtime}.
      > Execution failed for AarToClassTransform: E:\zhanghq21\unityProgram\My project (4)\Temp\gradleOut\unityLibrary\libs\wvr_permission_client.aar.
         > error in opening zip file

 

CommandInvokationFailure: Gradle build failed. 
D:\software\unity\editor\2020.3.46f1c1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "D:\software\unity\editor\2020.3.46f1c1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-6.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"

 

UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002cc] in <d694564c21164ce1808f42a0a084e18d>:0 
  at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <d694564c21164ce1808f42a0a084e18d>:0 
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Link to comment
Share on other sites

@VIVE_chengnay

I try Assets -> Import Package -> Custom Package,  and use VIVE -> Wave Installer, it seems not work:

Unable to add package [https://github.com/ViveSoftware/VIVE-Wave.git?path=com.htc.upm.wave.xrsdk]:
  Error when executing git command. fatal: not in a git directory

UnityEngine.Debug:Log (object)
WaveInstaller:AddPackage (string) (at Assets/Installer/WaveInstaller.cs:164)
WaveInstaller:AddGITPackages () (at Assets/Installer/WaveInstaller.cs:18)

Has Status?Failure
UnityEngine.Debug:Log (object)
WaveInstaller:AddPackage (string) (at Assets/Installer/WaveInstaller.cs:165)
WaveInstaller:AddGITPackages () (at Assets/Installer/WaveInstaller.cs:18)
 

I download it from https://github.com/ViveSoftware/VIVE-Wave/blob/master/Installer/WaveInstaller.unitypackage

Link to comment
Share on other sites

30 minutes ago, waveSk said:

Unable to add package [https://github.com/ViveSoftware/VIVE-Wave.git?path=com.htc.upm.wave.xrsdk]:
  Error when executing git command. fatal: not in a git directory

Hi @waveSk,

From this log, it seems like your git command is not set to PATH in environment variable.

Could you double check this part?

Link to comment
Share on other sites

15 minutes ago, VIVE_chengnay said:

Hi @waveSk,

From this log, it seems like your git command is not set to PATH in environment variable.

Could you double check this part?

checked, it is set, and git command works in windows terminal.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...