ViveSoftware / ViveInputUtility-Unity

A toolkit that helps developing/prototyping VR apps.
http://u3d.as/uF7
Other
352 stars 82 forks source link

HTC Focus. Unity3d project Updated to v1.10.4 and this error appears #123

Closed freseco closed 5 years ago

freseco commented 5 years ago

All my projects have the same problem:

NullReferenceException: Object reference not set to an instance of an object HTC.UnityPlugin.VRModuleManagement.WaveVRModule.UpdateDevicePose (System.UInt32 deviceIndex, WaveVR+Device content) (at Assets/HTC.UnityPlugin/VRModule/Modules/WaveVRModule.cs:486) HTC.UnityPlugin.VRModuleManagement.WaveVRModule.OnNewPoses (System.Object[] args) (at Assets/HTC.UnityPlugin/VRModule/Modules/WaveVRModule.cs:536) WaveVR_Utils+Event.Send (System.String message, System.Object[] args) (at Assets/WaveVR/Scripts/WaveVR_Utils.cs:177) WaveVR_Render+d__76.MoveNext () (at Assets/WaveVR/Scripts/WaveVR_Render.cs:666) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)

How can I fix it?

I am working with Unity3d 2018.3.5f1 and htc focus.

chengnay commented 5 years ago

Which version of WaveVR SDK are you using? The error shows in Unity Console window?

freseco commented 5 years ago

I have updated to the latest Wave SDK (version 3.0.2) and samples because I wasn't sure about what sdk I was using and I get these errors:

Assets\HTC.UnityPlugin\VRModule\Modules\WaveVRModule.cs(104,91): error CS0117: 'WaveVR_ControllerLoader.ControllerHand' does not contain a definition for 'Controller_Right'

Assets\HTC.UnityPlugin\VRModule\Modules\WaveVRModule.cs(123,95): error CS0117: 'WaveVR_ControllerLoader.ControllerHand' does not contain a definition for 'Controller_Right'

Assets\HTC.UnityPlugin\VRModule\Modules\WaveVRModule.cs(127,95): error CS0117: 'WaveVR_ControllerLoader.ControllerHand' does not contain a definition for 'Controller_Left'

Assets\WaveVR\Scripts\WaveVR_AdaptiveController.cs(221,45): error CS7036: There is no argument given that corresponds to the required formal parameter 'active' of 'WaveVR_Utils.Assimp.getSectionData(uint, uint, Vector3[], Vector3[], Vector2[], int[], ref bool)'

Yes, in Unity Console Windows during editor playing.

chengnay commented 5 years ago

@freseco Did you update VIU to v1.10.4?

freseco commented 5 years ago

Yes, I've update the VIU and the WaveVR SDK again and the errors disappeared but I got new one when I build the project:

CommandInvokationFailure: Gradle build failed. Error: Google Play requires that apps target API level 26 or higher. [ExpiredTargetSdkVersion] targetSdkVersion 25



   Explanation for issues of type "ExpiredTargetSdkVersion":
   As of the second half of 2018, Google Play requires that new apps and app
   updates target API level 26 or higher.

I don't know why it is using google play. I didn't install new packages or plugins.
In Unity Minimum API and Target API level are API level 25.

This is my manifest in Assets->Plugins->Android
```

> <?xml version="1.0" encoding="utf-8"?>
> <manifest xmlns:android="http://schemas.android.com/apk/res/android"
>     package="com.unity3d.player"
>     xmlns:tools="http://schemas.android.com/tools">
>     <application android:icon="@drawable/app_icon"
>                  android:label="@string/app_name"
>                  android:theme="@style/Theme.WaveVR.Loading"
>                  android:resizeableActivity="false"
>                tools:replace="android:theme">  <!--You can use your theme here.-->
>         <activity android:name="com.htc.vr.unity.WVRUnityVRActivity"
>                   android:label="@string/app_name"
>                   android:enableVrMode="@string/wvr_vr_mode_component"
>                   android:screenOrientation="landscape"
>                   android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
>             <intent-filter>
>                 <action android:name="android.intent.action.MAIN" />
>                 <category android:name="android.intent.category.LAUNCHER" />
>                 <category android:name="com.htc.intent.category.VRAPP" />
>             </intent-filter>
>             <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
>             <meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="true" />
>           <meta-data android:name="minWaveSDKVersion" android:value="1" />
> 
>           <!--Please consider the DoF support of HMD and controller individually for your content.-->
>           <!--Set value “3DoF” if your content only considers the rotation pose. -->
>           <!--Set value “6DoF” if your content considers both rotation and position pose. -->
>           <!--Set value “3,6DoF” if your content is capable of supporting both 3 and 6 DoF playing. -->
>           <meta-data android:name="com.htc.vr.content.NumDoFHmd" android:value="3,6DoF"/>
>           <meta-data android:name="com.htc.vr.content.NumDoFController" android:value="6DoF"/>
> 
>           <!--Fill the value of how many controllers the application can support.-->
>           <!--The value could be 0, 1 or 2. Use comma(,) between value if your content can support multiple cases.-->
>           <!--Set value “0” if your content supports gaze mode only. -->
>           <!--Set value “1” if your content only supports playing with one controler. -->
>           <!--Set value “1,2” if your content supports playing with either one controler or two controlers. -->
>           <!--Set value “0,1,2” if your content supports all cases, which mean user can play by gaze mode, one controller or two controllers. -->
>           <meta-data android:name="com.htc.vr.content.NumController" android:value="0,1,2"/>
>         </activity>
>     </application>
> 
>     <!-- <uses-permission android:name="android.permission.CAMERA" /> -->
>     <!-- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> -->
>     <uses-sdk android:minSdkVersion="25"/>
>   
>     <uses-permission android:name="com.htc.vr.core.server.VRDataWrite"/>
>     <uses-permission android:name="com.htc.vr.core.server.VRDataRead"/>
>     <uses-permission android:name="com.htc.vr.core.server.VRDataProvider" />
>     <uses-permission android:name="vive.wave.vr.oem.data.OEMDataRead" />
>     <uses-permission android:name="vive.wave.vr.oem.data.OEMDataWrite" />
> </manifest>

```
chengnay commented 5 years ago

@freseco The error is caused by the below image in Build Settings. image You can try changing it to internal or upgrade your API level. https://developer.android.com/distribute/best-practices/develop/target-sdk

freseco commented 5 years ago

Thank you for answer.

I've uninstalled the SDK build tool 29-rc3 and changed the build system to internal and this is the new error: Error htc

and if upgrade the API level: htc not compatible

chengnay commented 5 years ago

@freseco Could you show your Android SDK's list?

D:\Tools\android-sdk-windows\tools\bin>sdkmanager.bat --list Installed packages:=====================] 100% Computing updates... Path Version Description Location
build-tools;25.0.2 25.0.2 Android SDK Build-Tools 25.0.2 build-tools\25.0.2\
build-tools;28.0.2 28.0.2 Android SDK Build-Tools 28.0.2 build-tools\28.0.2\
emulator 28.0.25 Android Emulator emulator\
extras;google;usb_driver 11.0.0 Google USB Driver, rev 11 extras\google\usb_driver\
patcher;v4 1 SDK Patch Applier v4 patcher\v4\
platform-tools 28.0.2 Android SDK Platform-Tools platform-tools\
platforms;android-21 2 Android SDK Platform 21, rev 2 platforms\android-21\
platforms;android-22 2 Android SDK Platform 22, rev 2 platforms\android-22\
platforms;android-25 3 Android SDK Platform 25, rev 3 platforms\android-25\
platforms;android-26 2 Android SDK Platform 26, rev 2 platforms\android-26\
tools 26.1.1 Android SDK Tools tools\

And, also the Player Settings in Unity, image

If internal will not build successfully, I suggest use Gradle, and I will help you resolve the issue after you provide the above information.

freseco commented 5 years ago

This is my Android SDK list:

` D:\Android\SDK\tools\bin> .\sdkmanager.bat --list Installed packages:=====================] 100% Computing updates... Path Version Description Location
build-tools;22.0.1 22.0.1 Android SDK Build-Tools 22.0.1 build-tools\22.0.1\
build-tools;25.0.0 25.0.0 Android SDK Build-Tools 25 build-tools\25.0.0\
build-tools;25.0.2 25.0.2 Android SDK Build-Tools 25.0.2 build-tools\25.0.2\
build-tools;27.0.3 27.0.3 Android SDK Build-Tools 27.0.3 build-tools\27.0.3\
build-tools;28.0.0 28.0.0 Android SDK Build-Tools 28 build-tools\28.0.0\
build-tools;28.0.1 28.0.1 Android SDK Build-Tools 28.0.1 build-tools\28.0.1\
build-tools;28.0.3 28.0.3 Android SDK Build-Tools 28.0.3 build-tools\28.0.3\
emulator 27.1.12 Android Emulator emulator\
extras;android;gapid;3 3.1.0 GPU Debugging tools extras\android\gapid\3\
extras;android;m2repository 47.0.0 Android Support Repository extras\android\m2repository\
extras;google;auto 1.1 Android Auto Desktop Head Unit emulator extras\google\auto\
extras;google;m2repository 58 Google Repository extras\google\m2repository\
extras;google;usb_driver 11 Google USB Driver extras\google\usb_driver\
extras;google;webdriver 2 Google Web Driver extras\google\webdriver\
extras;intel;Hardware_Accelerated_Execution_Manager 6.2.1 Intel x86 Emulator Accelerator (HAXM installer) extras\intel\Hardware_Accelerated_Execution_Manager\
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2 1 Solver for ConstraintLayout 1.0.2 extras\m2repository\com\android\support\constraint\constraint-layout-solver\1.0.2\
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2 1 ConstraintLayout for Android 1.0.2 extras\m2repository\com\android\support\constraint\constraint-layout\1.0.2\
patcher;v4 1 SDK Patch Applier v4 patcher\v4\
platform-tools 28.0.3 Android SDK Platform-Tools platform-tools\
platforms;android-21 2 Android SDK Platform 21 platforms\android-21\
platforms;android-22 2 Android SDK Platform 22 platforms\android-22\
platforms;android-23 3 Android SDK Platform 23 platforms\android-23\
platforms;android-24 2 Android SDK Platform 24 platforms\android-24\
platforms;android-25 3 Android SDK Platform 25 platforms\android-25\
platforms;android-26 2 Android SDK Platform 26 platforms\android-26\
platforms;android-27 1 Android SDK Platform 27 platforms\android-27\
sources;android-21 1 Sources for Android 21 sources\android-21\
sources;android-22 1 Sources for Android 22 sources\android-22\
sources;android-23 1 Sources for Android 23 sources\android-23\
sources;android-24 1 Sources for Android 24 sources\android-24\
sources;android-25 1 Sources for Android 25 sources\android-25\
sources;android-26 1 Sources for Android 26 sources\android-26\
sources;android-27 1 Sources for Android 27 sources\android-27\
tools 26.1.1 Android SDK Tools tools\
Available Packages: Path Version Description
add-ons;addon-google_apis-google-15 3 Google APIs
add-ons;addon-google_apis-google-16 4 Google APIs
add-ons;addon-google_apis-google-17 4 Google APIs
add-ons;addon-google_apis-google-18 4 Google APIs
add-ons;addon-google_apis-google-19 20 Google APIs
add-ons;addon-google_apis-google-21 1 Google APIs
add-ons;addon-google_apis-google-22 1 Google APIs
add-ons;addon-google_apis-google-23 1 Google APIs
add-ons;addon-google_apis-google-24 1 Google APIs
add-ons;addon-google_gdk-google-19 11 Glass Development Kit Preview
build-tools;19.1.0 19.1.0 Android SDK Build-Tools 19.1
build-tools;20.0.0 20.0.0 Android SDK Build-Tools 20
build-tools;21.1.2 21.1.2 Android SDK Build-Tools 21.1.2
build-tools;22.0.1 22.0.1 Android SDK Build-Tools 22.0.1
build-tools;23.0.1 23.0.1 Android SDK Build-Tools 23.0.1
build-tools;23.0.2 23.0.2 Android SDK Build-Tools 23.0.2
build-tools;23.0.3 23.0.3 Android SDK Build-Tools 23.0.3
build-tools;24.0.0 24.0.0 Android SDK Build-Tools 24
build-tools;24.0.1 24.0.1 Android SDK Build-Tools 24.0.1
build-tools;24.0.2 24.0.2 Android SDK Build-Tools 24.0.2
build-tools;24.0.3 24.0.3 Android SDK Build-Tools 24.0.3
build-tools;25.0.0 25.0.0 Android SDK Build-Tools 25
build-tools;25.0.1 25.0.1 Android SDK Build-Tools 25.0.1
build-tools;25.0.2 25.0.2 Android SDK Build-Tools 25.0.2
build-tools;25.0.3 25.0.3 Android SDK Build-Tools 25.0.3
build-tools;26.0.0 26.0.0 Android SDK Build-Tools 26
build-tools;26.0.1 26.0.1 Android SDK Build-Tools 26.0.1
build-tools;26.0.2 26.0.2 Android SDK Build-Tools 26.0.2
build-tools;26.0.3 26.0.3 Android SDK Build-Tools 26.0.3
build-tools;27.0.0 27.0.0 Android SDK Build-Tools 27
build-tools;27.0.1 27.0.1 Android SDK Build-Tools 27.0.1
build-tools;27.0.2 27.0.2 Android SDK Build-Tools 27.0.2
build-tools;27.0.3 27.0.3 Android SDK Build-Tools 27.0.3
build-tools;28.0.0 28.0.0 Android SDK Build-Tools 28
build-tools;28.0.0-rc1 28.0.0 rc1 Android SDK Build-Tools 28-rc1
build-tools;28.0.0-rc2 28.0.0 rc2 Android SDK Build-Tools 28-rc2
build-tools;28.0.1 28.0.1 Android SDK Build-Tools 28.0.1
build-tools;28.0.2 28.0.2 Android SDK Build-Tools 28.0.2
build-tools;28.0.3 28.0.3 Android SDK Build-Tools 28.0.3
build-tools;29.0.0-rc1 29.0.0 rc1 Android SDK Build-Tools 29-rc1
build-tools;29.0.0-rc2 29.0.0 rc2 Android SDK Build-Tools 29-rc2
build-tools;29.0.0-rc3 29.0.0 rc3 Android SDK Build-Tools 29-rc3
docs 1 Documentation for Android SDK
emulator 28.0.25 Android Emulator
extras;android;gapid;1 1.0.3 GPU Debugging tools
extras;android;gapid;3 3.1.0 GPU Debugging tools
extras;android;m2repository 47.0.0 Android Support Repository
extras;google;auto 1.1 Android Auto Desktop Head Unit emulator
extras;google;google_play_services 49 Google Play services
extras;google;instantapps 1.7.0 Google Play Instant Development SDK
extras;google;m2repository 58 Google Repository
extras;google;market_apk_expansion 1 Google Play APK Expansion library
extras;google;market_licensing 1 Google Play Licensing Library
extras;google;simulators 1 Android Auto API Simulators
extras;google;usb_driver 11 Google USB Driver
extras;google;webdriver 2 Google Web Driver
extras;intel;Hardware_Accelerated_Execution_Manager 7.3.2 Intel x86 Emulator Accelerator (HAXM installer)
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0 1 Solver for ConstraintLayout 1.0.0
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha4 1 com.android.support.constraint:constraint-layout-solver:1.0.0-alpha4
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-alpha8 1 Solver for ConstraintLayout 1.0.0-alpha8
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta1 1 Solver for ConstraintLayout 1.0.0-beta1
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta2 1 Solver for ConstraintLayout 1.0.0-beta2
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta3 1 Solver for ConstraintLayout 1.0.0-beta3
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta4 1 Solver for ConstraintLayout 1.0.0-beta4
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.0-beta5 1 Solver for ConstraintLayout 1.0.0-beta5
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.1 1 Solver for ConstraintLayout 1.0.1
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2 1 Solver for ConstraintLayout 1.0.2
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0 1 ConstraintLayout for Android 1.0.0
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha4 1 com.android.support.constraint:constraint-layout:1.0.0-alpha4
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-alpha8 1 ConstraintLayout for Android 1.0.0-alpha8
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta1 1 ConstraintLayout for Android 1.0.0-beta1
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta2 1 ConstraintLayout for Android 1.0.0-beta2
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta3 1 ConstraintLayout for Android 1.0.0-beta3
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta4 1 ConstraintLayout for Android 1.0.0-beta4
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0-beta5 1 ConstraintLayout for Android 1.0.0-beta5
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.1 1 ConstraintLayout for Android 1.0.1
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2 1 ConstraintLayout for Android 1.0.2
lldb;2.0 2.0.2558144 LLDB 2.0
lldb;2.1 2.1.2852477 LLDB 2.1
lldb;2.2 2.2.3271982 LLDB 2.2
lldb;2.3 2.3.3614996 LLDB 2.3
lldb;3.0 3.0.4213617 LLDB 3.0
lldb;3.1 3.1.4508709 LLDB 3.1
ndk-bundle 19.2.5345600 NDK
patcher;v4 1 SDK Patch Applier v4
platform-tools 28.0.3 Android SDK Platform-Tools
platforms;android-10 2 Android SDK Platform 10
platforms;android-11 2 Android SDK Platform 11
platforms;android-12 3 Android SDK Platform 12
platforms;android-13 1 Android SDK Platform 13
platforms;android-14 4 Android SDK Platform 14
platforms;android-15 5 Android SDK Platform 15
platforms;android-16 5 Android SDK Platform 16
platforms;android-17 3 Android SDK Platform 17
platforms;android-18 3 Android SDK Platform 18
platforms;android-19 4 Android SDK Platform 19
platforms;android-20 2 Android SDK Platform 20
platforms;android-21 2 Android SDK Platform 21
platforms;android-22 2 Android SDK Platform 22
platforms;android-23 3 Android SDK Platform 23
platforms;android-24 2 Android SDK Platform 24
platforms;android-25 3 Android SDK Platform 25
platforms;android-26 2 Android SDK Platform 26
platforms;android-27 3 Android SDK Platform 27
platforms;android-28 6 Android SDK Platform 28
platforms;android-7 3 Android SDK Platform 7
platforms;android-8 3 Android SDK Platform 8
platforms;android-9 2 Android SDK Platform 9
platforms;android-Q 3 Android SDK Platform Q
sources;android-15 2 Sources for Android 15
sources;android-16 2 Sources for Android 16
sources;android-17 1 Sources for Android 17
sources;android-18 1 Sources for Android 18
sources;android-19 2 Sources for Android 19
sources;android-20 1 Sources for Android 20
sources;android-21 1 Sources for Android 21
sources;android-22 1 Sources for Android 22
sources;android-23 1 Sources for Android 23
sources;android-24 1 Sources for Android 24
sources;android-25 1 Sources for Android 25
sources;android-26 1 Sources for Android 26
sources;android-27 1 Sources for Android 27
sources;android-28 1 Sources for Android 28
system-images;android-10;default;armeabi-v7a 5 ARM EABI v7a System Image
system-images;android-10;default;x86 5 Intel x86 Atom System Image
system-images;android-10;google_apis;armeabi-v7a 6 Google APIs ARM EABI v7a System Image
system-images;android-10;google_apis;x86 6 Google APIs Intel x86 Atom System Image
system-images;android-14;default;armeabi-v7a 2 ARM EABI v7a System Image
system-images;android-15;default;armeabi-v7a 5 ARM EABI v7a System Image
system-images;android-15;default;x86 5 Intel x86 Atom System Image
system-images;android-15;google_apis;armeabi-v7a 6 Google APIs ARM EABI v7a System Image
system-images;android-15;google_apis;x86 6 Google APIs Intel x86 Atom System Image
system-images;android-16;default;armeabi-v7a 6 ARM EABI v7a System Image
system-images;android-16;default;mips 1 MIPS System Image
system-images;android-16;default;x86 6 Intel x86 Atom System Image
system-images;android-16;google_apis;armeabi-v7a 6 Google APIs ARM EABI v7a System Image
system-images;android-16;google_apis;x86 6 Google APIs Intel x86 Atom System Image
system-images;android-17;default;armeabi-v7a 6 ARM EABI v7a System Image
system-images;android-17;default;mips 1 MIPS System Image
system-images;android-17;default;x86 4 Intel x86 Atom System Image
system-images;android-17;google_apis;armeabi-v7a 6 Google APIs ARM EABI v7a System Image
system-images;android-17;google_apis;x86 6 Google APIs Intel x86 Atom System Image
system-images;android-18;default;armeabi-v7a 5 ARM EABI v7a System Image
system-images;android-18;default;x86 4 Intel x86 Atom System Image
system-images;android-18;google_apis;armeabi-v7a 6 Google APIs ARM EABI v7a System Image
system-images;android-18;google_apis;x86 6 Google APIs Intel x86 Atom System Image
system-images;android-19;default;armeabi-v7a 5 ARM EABI v7a System Image
system-images;android-19;default;x86 6 Intel x86 Atom System Image
system-images;android-19;google_apis;armeabi-v7a 38 Google APIs ARM EABI v7a System Image
system-images;android-19;google_apis;x86 38 Google APIs Intel x86 Atom System Image
system-images;android-21;android-tv;armeabi-v7a 3 Android TV ARM EABI v7a System Image
system-images;android-21;android-tv;x86 3 Android TV Intel x86 Atom System Image
system-images;android-21;default;armeabi-v7a 4 ARM EABI v7a System Image
system-images;android-21;default;x86 5 Intel x86 Atom System Image
system-images;android-21;default;x86_64 5 Intel x86 Atom_64 System Image
system-images;android-21;google_apis;armeabi-v7a 30 Google APIs ARM EABI v7a System Image
system-images;android-21;google_apis;x86 30 Google APIs Intel x86 Atom System Image
system-images;android-21;google_apis;x86_64 30 Google APIs Intel x86 Atom_64 System Image
system-images;android-22;android-tv;x86 3 Android TV Intel x86 Atom System Image
system-images;android-22;default;armeabi-v7a 2 ARM EABI v7a System Image
system-images;android-22;default;x86 6 Intel x86 Atom System Image
system-images;android-22;default;x86_64 6 Intel x86 Atom_64 System Image
system-images;android-22;google_apis;armeabi-v7a 24 Google APIs ARM EABI v7a System Image
system-images;android-22;google_apis;x86 24 Google APIs Intel x86 Atom System Image
system-images;android-22;google_apis;x86_64 24 Google APIs Intel x86 Atom_64 System Image
system-images;android-23;android-tv;armeabi-v7a 12 Android TV ARM EABI v7a System Image
system-images;android-23;android-tv;x86 19 Android TV Intel x86 Atom System Image
system-images;android-23;android-wear;armeabi-v7a 6 Android Wear ARM EABI v7a System Image
system-images;android-23;android-wear;x86 6 Android Wear Intel x86 Atom System Image
system-images;android-23;default;armeabi-v7a 6 ARM EABI v7a System Image
system-images;android-23;default;x86 10 Intel x86 Atom System Image
system-images;android-23;default;x86_64 10 Intel x86 Atom_64 System Image
system-images;android-23;google_apis;armeabi-v7a 31 Google APIs ARM EABI v7a System Image
system-images;android-23;google_apis;x86 31 Google APIs Intel x86 Atom System Image
system-images;android-23;google_apis;x86_64 31 Google APIs Intel x86 Atom_64 System Image
system-images;android-24;android-tv;x86 20 Android TV Intel x86 Atom System Image
system-images;android-24;default;arm64-v8a 7 ARM 64 v8a System Image
system-images;android-24;default;armeabi-v7a 7 ARM EABI v7a System Image
system-images;android-24;default;x86 8 Intel x86 Atom System Image
system-images;android-24;default;x86_64 8 Intel x86 Atom_64 System Image
system-images;android-24;google_apis;arm64-v8a 25 Google APIs ARM 64 v8a System Image
system-images;android-24;google_apis;armeabi-v7a 25 Google APIs ARM EABI v7a System Image
system-images;android-24;google_apis;x86 25 Google APIs Intel x86 Atom System Image
system-images;android-24;google_apis;x86_64 25 Google APIs Intel x86 Atom_64 System Image
system-images;android-24;google_apis_playstore;x86 19 Google Play Intel x86 Atom System Image
system-images;android-25;android-tv;x86 14 Android TV Intel x86 Atom System Image
system-images;android-25;android-wear-cn;armeabi-v7a 4 China version of Android Wear ARM EABI v7a System Image
system-images;android-25;android-wear-cn;x86 4 China version of Android Wear Intel x86 Atom System Image
system-images;android-25;android-wear;armeabi-v7a 3 Android Wear ARM EABI v7a System Image
system-images;android-25;android-wear;x86 3 Android Wear Intel x86 Atom System Image
system-images;android-25;default;x86 1 Intel x86 Atom System Image
system-images;android-25;default;x86_64 1 Intel x86 Atom_64 System Image
system-images;android-25;google_apis;arm64-v8a 16 Google APIs ARM 64 v8a System Image
system-images;android-25;google_apis;armeabi-v7a 16 Google APIs ARM EABI v7a System Image
system-images;android-25;google_apis;x86 16 Google APIs Intel x86 Atom System Image
system-images;android-25;google_apis;x86_64 16 Google APIs Intel x86 Atom_64 System Image
system-images;android-25;google_apis_playstore;x86 9 Google Play Intel x86 Atom System Image
system-images;android-26;android-tv;x86 12 Android TV Intel x86 Atom System Image
system-images;android-26;android-wear-cn;x86 4 China version of Android Wear Intel x86 Atom System Image
system-images;android-26;android-wear;x86 4 Android Wear Intel x86 Atom System Image
system-images;android-26;default;x86 1 Intel x86 Atom System Image
system-images;android-26;default;x86_64 1 Intel x86 Atom_64 System Image
system-images;android-26;google_apis;x86 13 Google APIs Intel x86 Atom System Image
system-images;android-26;google_apis;x86_64 13 Google APIs Intel x86 Atom_64 System Image
system-images;android-26;google_apis_playstore;x86 7 Google Play Intel x86 Atom System Image
system-images;android-27;android-tv;x86 7 Android TV Intel x86 Atom System Image
system-images;android-27;default;x86 1 Intel x86 Atom System Image
system-images;android-27;default;x86_64 1 Intel x86 Atom_64 System Image
system-images;android-27;google_apis;x86 9 Google APIs Intel x86 Atom System Image
system-images;android-27;google_apis_playstore;x86 3 Google Play Intel x86 Atom System Image
system-images;android-28;android-tv;x86 8 Android TV Intel x86 Atom System Image
system-images;android-28;android-wear-cn;x86 3 China version of Wear OS Intel x86 Atom System Image
system-images;android-28;android-wear;x86 3 Wear OS Intel x86 Atom System Image
system-images;android-28;default;x86 4 Intel x86 Atom System Image
system-images;android-28;default;x86_64 4 Intel x86 Atom_64 System Image
system-images;android-28;google_apis;x86 9 Google APIs Intel x86 Atom System Image
system-images;android-28;google_apis;x86_64 9 Google APIs Intel x86 Atom_64 System Image
system-images;android-28;google_apis_playstore;x86 8 Google Play Intel x86 Atom System Image
system-images;android-28;google_apis_playstore;x86_64 8 Google Play Intel x86 Atom_64 System Image
system-images;android-Q;android-tv;x86 1 Android TV Intel x86 Atom System Image
system-images;android-Q;default;x86 4 Intel x86 Atom System Image
system-images;android-Q;default;x86_64 4 Intel x86 Atom_64 System Image
system-images;android-Q;google_apis;x86 4 Google APIs Intel x86 Atom System Image
system-images;android-Q;google_apis;x86_64 4 Google APIs Intel x86 Atom_64 System Image
system-images;android-Q;google_apis_playstore;x86 4 Google Play Intel x86 Atom System Image
system-images;android-Q;google_apis_playstore;x86_64 4 Google Play Intel x86 Atom_64 System Image
tools 26.1.1 Android SDK Tools
Available Updates: ID Installed Available
emulator 27.1.12 28.0.25
extras;intel;Hardware_Accelerated_Execution_Manager 6.2.1 7.3.2
platforms;android-27 1 3`

And this is my Player setting(I set the Target API Level like you, Automatic): Player setting

chengnay commented 5 years ago

@freseco Your Android SDK list looks fine to me. Could you show me the external tools setting in Unity? Edit > Preferences > External Tools image

Is your current project build successfully before? Are you able to share your project to me? In your project, you ONLY imported VIU and WaveVR SDK? or you have other plugins imported?

chengnay commented 5 years ago

Assets\WaveVR\Scripts\WaveVR_AdaptiveController.cs(221,45): error CS7036: There is no argument given that corresponds to the required formal parameter 'active' of 'WaveVR_Utils.Assimp.getSectionData(uint, uint, Vector3[], Vector3[], Vector2[], int[], ref bool)'

I think I found the root cause. Did you import WaveVR SDK 3.0.2 without removing the older ones? In WaveVR SDK 3.0.2, there is no WaveVR_AdaptiveController.cs found. Please remember to remove previous SDK before importing new ones, thanks!

freseco commented 5 years ago

Hello, this is how I fix the problem, a hardcore way:

Create a new project, add the WaveSDK 3.0.2 and the VIU 1.10.4 and then, copy the old project files into the new one.

With all of these, I can build and install it in the focus.

Probably there is something wrong in the old project with cache, library, settings...I did not find problem.

Thank you for helping.

chengnay commented 5 years ago

@freseco Great to hear that you fixed your problem. Just remember that deleting previous SDK before importing or updating to latest one is a better way. Good luck!