Open MiWiesing opened 2 years ago
Hi Michael,
Thanks for the report. I'll check it asap and let you know any results.
Hi Michael,
We are encountering issues in QuickVR and Unity 2021. Meanwhile, I would recommend to stick to Unity 2020 LTS while we address this.
Thanks!
Hey, thanks for the information. I will try it with Unity 2020 LTS
Hi Michael,
I think it is fixed now. In fact there were 2 errors:
The black screen was caused do to a shader not using the appropiate queue.
The null reference on the InputManager shoud be fixed now.
I've done the tests in Unity 2020.3.37f1 and 2021.3.10f1 using the OpenXR plugin with SteamVR. It has been tested on a Quest 2 and an old HTC VIVE. However we do not have a Valve Index so we cannot guarantee it works on this device, although theoretically it should. So if you could try and confirm this, that would be great :).
Thanks!
Hey Ramon,
I just tested it and it works perfectly with the Valve Index and Index Controllers. Tested with 2020.3.40f1 and 2021.3.10f1 However, for some reason, the samples are not shown in the Package Manager as shown here: https://github.com/eventlab-projects/com.quickvr.quickbase/blob/master/Documentation~/img/install/02.png This is what I see: https://imgur.com/a/hP1JZLR
And one minor thing. The path in the first tutorial is not correct Instead of Packages > QuickVR.QuickBase > Runtime > Avatars > 3DCharacterDummy > Models. it should be Packages > QuickVR.QuickBase > Runtime > Media > Avatars > 3DCharacterDummy > Models.
As soon as I add the QuickBaseGameManager, the scene is completely black, except a text, saying to press the trigger button. Pressing escape makes the scene visible for a short moment, before the play mode ends. Without the QuickBaseGameManager (e.g. Tutorial 1), everything works fine.
According to the error message, it appears to be a problem with the input (see below). Tested with Unity 2021.3.10f1 and SteamVR on Win 10. Valve Index with Vive Controllers. I use the standard bindings for the Vive controller.
NullReferenceException: Object reference not set to an instance of an object QuickVR.InputManagerVR+QuickButtonControl.ReadValue () (at Library/PackageCache/com.quickvr.quickbase@852a134d49/Runtime/QuickInputManager/Implementations/InputManagerVR.cs:135) QuickVR.InputManagerVR+QuickButtonControl.get_isPressed () (at Library/PackageCache/com.quickvr.quickbase@852a134d49/Runtime/QuickInputManager/Implementations/InputManagerVR.cs:111) QuickVR.InputManagerVR.GetKey (QuickVR.InputManagerVR+ButtonCodes key) (at Library/PackageCache/com.quickvr.quickbase@852a134d49/Runtime/QuickInputManager/Implementations/InputManagerVR.cs:365) QuickVR.QuickHandGestureKey.IsPressed () (at Library/PackageCache/com.quickvr.quickbase@852a134d49/Runtime/Media/Oculus/SampleFramework/Core/CustomHands/Scripts/QuickHandGestureSettings.cs:16) QuickVR.QuickHandGestureSettings.IsGesture (System.Collections.Generic.List`1[T] gKeys, QuickVR.QuickHandGestureSettings+GestureMode gMode) (at Library/PackageCache/com.quickvr.quickbase@852a134d49/Runtime/Media/Oculus/SampleFramework/Core/CustomHands/Scripts/QuickHandGestureSettings.cs:50) QuickVR.QuickHandGestureSettings.IsThumbUp () (at Library/PackageCache/com.quickvr.quickbase@852a134d49/Runtime/Media/Oculus/SampleFramework/Core/CustomHands/Scripts/QuickHandGestureSettings.cs:43) QuickVR.QuickVRHandAnimator.UpdateInputStates () (at Library/PackageCache/com.quickvr.quickbase@852a134d49/Runtime/QuickVRHandAnimator.cs:249) QuickVR.QuickVRHandAnimator.Update () (at Library/PackageCache/com.quickvr.quickbase@852a134d49/Runtime/QuickVRHandAnimator.cs:239)