Quest 2 Development in Godot 4
Asked Answered
I

6

0

Hey

I have a Godot 3 Quest 2 project that I have ported to Godot 4. The project runs thought Oculus LInk on myt Quest, but I cant figure out how to get the project to deply to the Quest. In Godot 3 there is an Android button beside the run button that deploys and runs the project on the quest, however this button is missing in Godot 4. I wonder if I have missed some step in setting up Godot for for Android?

Intendment answered 29/7, 2023 at 23:35 Comment(0)
B
1

In Godot 4, there's a Remote Debug button. In your second screenshot, it's on the right side of your red arrow. If you click on that, you get a dropdown menu. Instead of the Android button, that menu has an item for Android (if Android export is configured and the device is connected).

Boswall answered 29/7, 2023 at 23:52 Comment(0)
I
0

Boswall Doh!! Thanks! Seems my project has a few errors in it still listed in Output. Gonna fix them and hopefully will deploy now :-)

Intendment answered 30/7, 2023 at 0:1 Comment(0)
I
0

Intendment Fixed all the errors in the project but the project doesnt deploy and insteda Godot gives:

Also the Gradle Window seems to have an error that I cant see.

Finbally in Output it says:

Could not find version of build tools that matches Target SDK, using 34.0.0
Attempting to parent and popup a dialog that already has a parent.
0 param: --remote-debug
1 param: tcp://localhost:6007
2 param: --xr_mode_openxr
3 param: --use_immersive
editor/export/editor_export_platform.h:178 - Export: Building of Android project failed, check output for the error. Alternatively visit docs.godotengine.org for Android build documentation.
Cannot remove non-existent file or directory: C:/Users/skooter500/AppData/Local/Godot/tmpexport.1690680952.apkIve

Any ideas where to look even?

Intendment answered 30/7, 2023 at 1:38 Comment(0)
I
0

Intendment Installing JDK 11 fixed that problem and nmow my program builds, bur any scene that loads FBX files seems to hang and I get this error in the debug console:

E 0:00:05:0628 _load: No loader found for resource: res://Models/Dodecahedron.fbx.
<C++ Error> Method/function failed. Returning: Ref<Resource>()
<C++ Source> core/io/resource_loader.cpp:281 @ _load()
E 0:00:05:0628 parse_variant: Can't load dependency: res://Models/Dodecahedron.fbx.
<C++ Error> Method/function failed. Returning: error
<C++ Source> core/io/resource_format_binary.cpp:458 @ parse_variant()
E 0:00:05:0628 parse_variant: Can't load dependency: res://Models/Dodecahedron.fbx.
<C++ Error> Method/function failed. Returning: error
<C++ Source> core/io/resource_format_binary.cpp:458 @ parse_variant()

Intendment answered 30/7, 2023 at 11:40 Comment(0)
P
0

Intendment
I also get these error and installing JDK 11 do not fix the problems for me,
Anyone that have any suggestion on what to do?

Perrault answered 26/9, 2023 at 15:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.