Godot OpenXR Vendors plugin has cursed my project

Godot Version

4.2.2.stable.mono

Question

i’ve been working on a vr game (insert 2 pages of context) and was trying to install the Godot OpenXR Vendors plugin, but there were a ton of errors about registering extension classes and editor plugins

Attempt to register extension class 'OpenXREditorExportPlugin', which appears to be already registered.
  Attempt to register extension class 'KhronosEditorExportPlugin', which appears to be already registered.
  Attempt to register extension class 'KhronosEditorPlugin', which appears to be already registered.
  Editor plugin already registered: KhronosEditorPlugin
  Attempt to register extension class 'OpenXREditorExportPlugin', which appears to be already registered.
  Attempt to register extension class 'LynxEditorPlugin', which appears to be already registered.
  Editor plugin already registered: LynxEditorPlugin
  Singleton already registered: OpenXRFbSceneCaptureExtensionWrapper
  Singleton already registered: OpenXRFbSpatialEntityExtensionWrapper
  Singleton already registered: OpenXRFbSpatialEntityQueryExtensionWrapper
  Singleton already registered: OpenXRFbSpatialEntityContainerExtensionWrapper
  Singleton already registered: OpenXRFbSceneExtensionWrapper
  Attempt to register extension class 'OpenXREditorExportPlugin', which appears to be already registered.
  Attempt to register extension class 'MetaEditorExportPlugin', which appears to be already registered.
  Attempt to register extension class 'MetaEditorPlugin', which appears to be already registered.
  Editor plugin already registered: MetaEditorPlugin
  Attempt to register extension class 'OpenXREditorExportPlugin', which appears to be already registered.
  Attempt to register extension class 'PicoEditorPlugin', which appears to be already registered.
  Editor plugin already registered: PicoEditorPlugin

when i would try to delete the addon through godot it would give a windows error saying it was open in another program and a bonus error in the output console

platform/windows/os_windows.cpp:1672 - SHFileOperation error: 1223

when i would delete the addon with the project closed it would complain about files not being found

 core/extension/gdextension.cpp:688 - GDExtension library not found: 
  Failed loading resource: res://asset/addons/godotopenxrvendors/khronos/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
  core/extension/gdextension.cpp:688 - GDExtension library not found: 
  Failed loading resource: res://asset/addons/godotopenxrvendors/lynx/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
  core/extension/gdextension.cpp:688 - GDExtension library not found: 
  Failed loading resource: res://asset/addons/godotopenxrvendors/meta/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
  core/extension/gdextension.cpp:688 - GDExtension library not found: 
  Failed loading resource: res://asset/addons/godotopenxrvendors/pico/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
  Cannot navigate to 'res://addons/godotopenxrvendors/' as it has not been found in the file system!
  core/extension/gdextension.cpp:688 - GDExtension library not found: 
  Failed loading resource: res://asset/addons/godotopenxrvendors/khronos/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
  core/extension/gdextension.cpp:688 - GDExtension library not found: 
  Failed loading resource: res://asset/addons/godotopenxrvendors/lynx/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
  core/extension/gdextension.cpp:688 - GDExtension library not found: 
  Failed loading resource: res://asset/addons/godotopenxrvendors/meta/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
  core/extension/gdextension.cpp:688 - GDExtension library not found: 
  Failed loading resource: res://asset/addons/godotopenxrvendors/pico/plugin.gdextension. Make sure resources have been imported by opening the project in the editor at least once.

deleting the .godot folder didn’t help and actually increased load times for godot.
im also dumb enough to not have made any backups.

if necessary i can upload the project to github and put a link to it (but its about 700 mb)

just for future reference for anyone else having this issue, it creates a folder named “asset” which is what was creating those errors after deleting the plugin. you just need to delete the plugin and the asset folder for it to stop throwing errors. i probably would’ve figured it out earlier but i was on a bit of a time crunch when i made the post.

also sorry for every time i called it addon instead of plugin

1 Like

Hey @cat.mp4 ,

Glad to hear you’ve already figured it out. Indeed the asset root folder in the zip file is a bit confusing, it’s only there to make the asset library happy. In your project the plugin needs to be installed into /addons/godotopenxrvendors. This is what also happens when you install the plugin from the asset library.

If its not installed in the correct location, all sorts of things go wrong. Or worse yet, you may end up with two versions, one in the correct location and one in the incorrect location.