BeepSaber icon indicating copy to clipboard operation
BeepSaber copied to clipboard

Building seems to fail on Oculus

Open guysoft opened this issue 4 years ago • 3 comments

Getting these errors when I build:

   ERROR: get_language_code: Invalid locale 'C'.
     At: core/translation.cpp:958.
  ERROR: set_locale: Unsupported locale 'C', falling back to 'en'.
     At: core/translation.cpp:982.
  ERROR: initialize: No library set for this platform
     At: modules/gdnative/gdnative.cpp:291.
  ERROR: init_library:  does not have a library for the current platform.
     At: modules/gdnative/nativescript/nativescript.cpp:1456.
  WARNING: _parse_class: Exporting bit flags hint requires string constants.
     At: modules/gdscript/gdscript_parser.cpp:4232.
  ERROR: get_dependencies: Cannot open file 'res://.import/beepcube_cut.ogg-fa9918db4ed7fbd59a26fd9bdbf5e2eb.oggstr'.
     At: core/io/resource_format_binary.cpp:1048.
  ERROR: get_dependencies: Cannot open file 'res://.import/lightsaber.ogg-57b596b97854ffb70cf67bb577bf1b20.oggstr'.
     At: core/io/resource_format_binary.cpp:1048.
  ERROR: get_dependencies: Cannot open file 'res://.import/ring.obj-b2d39a2e120e29c2a1da2ba07e399a4a.mesh'.
     At: core/io/resource_format_binary.cpp:1048.
  ERROR: get_dependencies: Cannot open file 'res://.import/sword.obj-9adf1b7473d088cbd5e0be22e911c68b.mesh'.
     At: core/io/resource_format_binary.cpp:1048.
  ERROR: get_dependencies: Cannot open file 'res://.import/sword_clash.8a.ogg-8af31692595a1a180e7f0f71aca8bc47.oggstr'.
     At: core/io/resource_format_binary.cpp:1048.
  ERROR: get_dependencies: Cannot open file 'res://.import/sword_clash.10.ogg-591fdf75ba88cf077aeab99c00d48a0e.oggstr'.
     At: core/io/resource_format_binary.cpp:1048.
  ERROR: get_dependencies: Cannot open file 'res://.import/OculusQuestHand_Left.gltf-5162d761ce4b20cdff3f64e5593dd105.scn'.
     At: core/io/resource_format_binary.cpp:1048.
  ERROR: get_dependencies: Cannot open file 'res://.import/OculusQuestHand_Right.gltf-2bae7afcb09ff56e3adc96d9b9564d9d.scn'.
     At: core/io/resource_format_binary.cpp:1048.
  ERROR: get_dependencies: Cannot open file 'res://.import/OculusQuestTouchController_Left.gltf-8c6bcf0c6eb7a4223a94539a3fe95ef1.scn'.
     At: core/io/resource_format_binary.cpp:1048.
  ERROR: get_dependencies: Cannot open file 'res://.import/OculusQuestTouchController_Right.gltf-07fd49f7972b14e8676c8ad4784d564d.scn'.
     At: core/io/resource_format_binary.cpp:1048.
  ERROR: _parse_material_library: Couldn't open MTL file 'sword.mtl', it may not exist or not be readable.
     At: editor/import/resource_importer_obj.cpp:48.
  WARNING: _parse_material_library: OBJ: Ambient light for material 'None' is ignored in PBR
     At: editor/import/resource_importer_obj.cpp:66.

guysoft avatar Aug 11 '21 12:08 guysoft

What oculus are you trying to build for? I just built for Quest last week and probably will again in a few minutes. If you're building for quest go through the Android setup. If you're trying to build for PCVR (Rift), I'm not sure that's available in GoDot.

beep2bleep avatar Aug 11 '21 13:08 beep2bleep

Trying to see if I can do CI/CD for godot android builds: https://github.com/guysoft/BeepSaber/actions/runs/1120102204 I managed to get it to work for linux, but not oculus.

guysoft avatar Aug 11 '21 13:08 guysoft

It looks like the .import folder is not created. When using Godot Editor this is created on first project load.; maybe this requires a separate build step first to generate the .import data?

NeoSpark314 avatar Sep 06 '21 17:09 NeoSpark314