Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenXR default action map not created on macOS #75211

Closed
robagar opened this issue Mar 22, 2023 · 6 comments
Closed

OpenXR default action map not created on macOS #75211

robagar opened this issue Mar 22, 2023 · 6 comments

Comments

@robagar
Copy link

robagar commented Mar 22, 2023

Godot version

4.0.1

System information

macOS Ventura 13.2.1

Issue description

The default action map file res://openxr_action_map.tres does not get created automatically by the editor running in macOS.

Creating the file manually also does not work, presumably because the OpenXR module is not loaded at all.

Discord comment reminder as requested by Max213 :)
https://discord.com/channels/212250894228652034/418572953912082432/1087738562956509274

Steps to reproduce

  1. Create new project
  2. Enable OpenXR in project settings
  3. Save & reload

The default action map file res://openxr_action_map.tres should now exist, but doesn't.

Minimal reproduction project

Archive.zip

@eelcor
Copy link

eelcor commented Jul 9, 2023

I have the same problem. Double clicking the res://openxr_action_map.tres throws a bunch of errors stating that a number of classes cannot be found, "Cannot get class 'OpenXRIPBinding'." and "Cannot get class 'OpenXRInteractionProfile'." and "Cannot get class 'OpenXRAction'.". The Action map cannot be added using the "add resource" option, it is not listed. I thought of switching to Sonoma.

I wanted to directy map actions of the controllers to my game, but unfortunately this doesn't work. Hope it can be fixed!

@BastiaanOlij
Copy link
Contributor

This was resolved some time ago when we added support for OpenXR to the MacOS build.
See: #79614

@akien-mga akien-mga added this to the 4.2 milestone Jul 10, 2024
@KOOT87
Copy link

KOOT87 commented Jul 11, 2024

This issue seems to be back in Godot 4.3 Beta 3 (and possibly in earlier beta versions - didn't check).
After creating a new project, enabling OpenXR in project settings and restarting the editor, the openxr_action_map.tres is not generated.
Checked Godot 4.2.1 as well, and there it does generate the action map.
I'm running an Intel based Mac on MacOS Sanoma if it helps.

@akien-mga
Copy link
Member

@KOOT87 This sounds like #90696 maybe?

@KOOT87
Copy link

KOOT87 commented Jul 12, 2024

@akien-mga I don't think it's the same issue, but I did some more testing and it does work in 4.3 Beta 2. Also tested on Windows and got the same result there. On 4.3 Beta 2 the action map is created after enabling OpenXR and restarting the editor, while on Beta 3 it does not create the action map. Seems like a regression between Beta 2 and 3

@eelcor
Copy link

eelcor commented Jul 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants