GodotVR / godot_openxr_vendors

Godot 4 wrapper for OpenXR vendors loaders and extensions
MIT License
92 stars 19 forks source link

The APK in PICO not working #21

Closed robherre closed 1 year ago

robherre commented 1 year ago

I follow the instructions in the video: https://www.youtube.com/watch?v=wDXnsy2IH1A with Godot 4.0 Beta v16 and PICO 4 VR glasses.

It works with SteamVR and PICO Link (Streaming assistant), but when I export the project to Android (always following the instructions of the video it doesn't work.

After a few seconds loading the PICO glasses show a image with ground and "sky" and a second before closes.

If I do a Remote Debug Godot shows the message ("platform/windows/display_server_windows.cpp:1008 - Condition "!windows.has(p_window)" is true. Returning: Point2i()") 44 times or more.

BastiaanOlij commented 1 year ago

@robherre are you using the Vulkan renderer? We're still waiting on a driver update on the PICO so for now try if it works with the OpenGL renderer.

robherre commented 1 year ago

How I select the renderer in Godot 4.0? I'm using Mobile renderer both in main screen and in project settings.

BastiaanOlij commented 1 year ago

Thats likely the Vulkan renderer, you need to select compatibility from the dropdown in the top righthand corner: image

robherre commented 1 year ago

It works! I can see the image now but the controllers not responding.

BastiaanOlij commented 1 year ago

It works! I can see the image now but the controllers not responding.

Make sure to check with the new Godot beta that was just released (beta 17 I think). There were a bunch of export regressions introduced including one that broke the action map.

robherre commented 1 year ago

Great! With the simple example it doesn't works. But with OpenXRTools it does! Maybe I skip some code for the controllers.

BastiaanOlij commented 1 year ago

Now that I have a PICO I could test and indeed it seems to work nicely. Even made a video about it :) https://youtu.be/ZckQ-6ocHrI Closing this issue