jboss Posted December 21, 2021 Share Posted December 21, 2021 I have ported my Vive project to the Quest and am still very happy about using the Vive Input utility. But I'm having a weird and frustrating problem. On my ported project the overlay keyboard will not come up when I click on an InputField. I have another Quest project that I use for testing and there it works fine. I also ran the UGUI sample scene in the ported project and there I have the same problem. Everything else works (button, slider, toggle, scrollview, dropdown), only the inputfield does not work. I can see that there is a difference in the VIU version. The project that works has VIU 1.12.2.0, the project where it does not work has VIU 1.13.4.0, so a more recent version. I tried updating to the lastest version (1.14.1) but that also did not solve the problem. I tried copying the HTC.UnityPlugin folder from the working project to the not-working project, but that gave compile errors, so I reverted that. In the Android LogCat window I do see the debug message saying "SteamVR plugin not found, install it to enable overlay keyboard", but I get that in both projects, so it is not causing the problem (and it's actually an incorrect message, as SteamVR plugin is not really required). So I hope you can help, maybe something was updated between version 1.12.2 and 1.13 that broke the overlay keyboard? Or it is something in my project and you can point me in the right direction 🙂 @chengnay Thanks! Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted December 22, 2021 Share Posted December 22, 2021 @jboss You mentioned using VIU v1.12.2 works for input field overlay keyboard. Did you try with UGUI sample scene with VIU v1.12.2 too? It will work fine? If it works in v1.12.2, I will try to find the root cause and fix it ASAP. Please list your versions(Unity Editor and installed/imported SDKs) too, thanks! Link to comment Share on other sites More sharing options...
jboss Posted December 22, 2021 Author Share Posted December 22, 2021 @chengnay Thanks for your reaction. Yes, the UGUI sample works fine in VIU V1.12.2. And I realised this morning that I did not check one component, the Oculus Integration package. And that was the cause. I finally found a post to check the Oculus Integration package version (https://forums.oculusvr.com/t5/Unity-VR-Development/Unity-Oculus-Integration-version-number/td-p/864283) and with that I found the difference. My test project that has VIU 1.12.2 has wrapper version 1.52.0, which is older than the versions mentioned on the archive page in the post, so earlier than 27.0. The ported project that has VIU 1.13.4 has wrapper version 1.64.0, so Oculus Integration version 32.0 When I copied the Oculus folder from the working project to the not-working project the problem was solved. To complete my troubleshooting I upgraded (a copy of) the test project to the latest Oculus Integration (35) and the latest VIU (1.14.1). And there the problem appeared again. The InputField in both the UGUI scene and in my own scene do not trigger the overlay keybaord. The rest of the UGUI scene works fine. I am using Quest 1, Unity 2019.4.18f1 with the built-in SDK/NDK and gradle, building for minimal Android 6, target highest installed. I hope this gives you some directions for fixing the problem. For now I'm sticking with the old Oculus Integration package as that works. 🙂 Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted December 23, 2021 Share Posted December 23, 2021 @jboss Thanks for your information, I will check and see if I can find the root cause ASAP. For wrapper version 1.52.0, Oculus Integration version is 20.1. I think you forgot to list the Oculus XR Plugin(Package Manager) version that you installed in your both projects. Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted December 23, 2021 Share Posted December 23, 2021 @jboss Unfortunately, I couldn't get VIU v1.12.2 to show virtual keyboard in UGUI sample scene. I am not sure what is missing or different from yours. Or are you able to share a sample project that can show virtual keyboard in UGUI sample scene? Thanks! Link to comment Share on other sites More sharing options...
jboss Posted January 4, 2022 Author Share Posted January 4, 2022 @chengnayI can send the project to you in a private message. What userid should I use? Tried to send it but got the message that you can not receive messages. Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted January 4, 2022 Share Posted January 4, 2022 @jboss I just private message you, please check your Messages, thanks! Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted January 5, 2022 Share Posted January 5, 2022 @jboss After comparing between your project and mine, I can confirm that VIU is not the root cause to this issue. I did upgrade your project to latest VIU v1.14.1 and everything works fine. After comparing your Oculus plugin with mine, I found below difference and it is the root cause to the virtual keyboard issue. Let me know if you still got other issue, thanks! Link to comment Share on other sites More sharing options...
jboss Posted January 5, 2022 Author Share Posted January 5, 2022 @chengnay Thanks for your analysis. I can now replicate the behaviour. If Requires System Keyboard is disabed the VIU popup keyboard will not work If Requires System keyboard is enabled it works. Glad to have it clear now. Thanks again! Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted January 6, 2022 Share Posted January 6, 2022 @jboss Just to clarify that VIU did not have popup keyboard. VIU only adds overlay keyboard when using SteamVR Plugin. Other SDKs such as Oculus or Wave, VIU did not provide any. Your statement "If Requires System Keyboard is disabed the VIU popup keyboard will not work" is not true. 😅 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now