GodotVR / godot_openxr_vendors

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

GDExtension library not found: `meta/plugin.gdextension` #63

Closed isosphere closed 8 months ago

isosphere commented 9 months ago

Using Godot 4.2 stable downloaded today. Using the release copy of this plugin here: https://github.com/GodotVR/godot_openxr_vendors/releases/tag/2.0.1-stable I've also tried with 2.0.0.

I get this error on startup with the plugin enabled:

  core/extension/gdextension.cpp:688 - GDExtension library not found: 
  Failed loading resource: res://addons/godotopenxrvendors/meta/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.

(the project has been opened at least once)

Inspecting the file, I see this:

[libraries]

android.debug.arm64 = "res://addons/godotopenxrvendors/meta/.bin/debug/arm64-v8a/libgodotopenxrmeta.so"
android.release.arm64 = "res://addons/godotopenxrvendors/meta/.bin/release/arm64-v8a/libgodotopenxrmeta.so"
macos.debug = "res://addons/godotopenxrvendors/meta/.bin/libgodotopenxrmeta.macos.template_debug.framework"
macos.release = "res://addons/godotopenxrvendors/meta/.bin/libgodotopenxrmeta.macos.template_release.framework"
windows.debug.x86_64 = "res://addons/godotopenxrvendors/meta/.bin/libgodotopenxrmeta.windows.template_debug.x86_64.dll"
windows.release.x86_64 = "res://addons/godotopenxrvendors/meta/.bin/libgodotopenxrmeta.windows.template_release.x86_64.dll"
linux.debug.x86_64 = "res://addons/godotopenxrvendors/meta/.bin/libgodotopenxrmeta.linux.template_debug.x86_64.so"
linux.release.x86_64 = "res://addons/godotopenxrvendors/meta/.bin/libgodotopenxrmeta.linux.template_release.x86_64.so"
linux.debug.arm64 = "res://addons/godotopenxrvendors/meta/.bin/libgodotopenxrmeta.linux.template_debug.arm64.so"
linux.release.arm64 = "res://addons/godotopenxrvendors/meta/.bin/libgodotopenxrmeta.linux.template_release.arm64.so"
linux.debug.rv64 = "res://addons/godotopenxrvendors/meta/.bin/libgodotopenxrmeta.linux.template_debug.rv64.so"
linux.release.rv64 = "res://addons/godotopenxrvendors/meta/.bin/libgodotopenxrmeta.linux.template_release.rv64.so"

Inspecting the res://addons/godotopenxrvendors/meta/.bin/ path however in the release ZIP file, I see:

More of a traceback:

Godot Engine v4.2.stable.official.46dc27791 - https://godotengine.org
OpenGL API 3.3.0 NVIDIA 546.17 - Compatibility - Using Device: NVIDIA - NVIDIA GeForce GTX 1070 Ti

ERROR: Parameter "profile_def" is null.
   at: _update_interaction_profile (modules/openxr/editor/openxr_interaction_profile_editor.cpp:260)
ERROR: GDExtension library not found:
   at: open_library (core/extension/gdextension.cpp:688)
ERROR: Failed loading resource: res://addons/godotopenxrvendors/meta/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:274)
ERROR: GDExtension library not found:
   at: open_library (core/extension/gdextension.cpp:688)
ERROR: Failed loading resource: res://addons/godotopenxrvendors/meta/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:274)
ERROR: GDExtension library not found:
   at: open_library (core/extension/gdextension.cpp:688)
ERROR: Failed loading resource: res://addons/godotopenxrvendors/meta/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core/io/resource_loader.cpp:274)
starcin commented 8 months ago

Version 2.0.2 (https://github.com/GodotVR/godot_openxr_vendors/releases/tag/2.0.2-stable) solved the problem in my case.

isosphere commented 8 months ago

Version 2.0.2 (https://github.com/GodotVR/godot_openxr_vendors/releases/tag/2.0.2-stable) solved the problem in my case.

Confirmed for me too!