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: Fix crash with composition layers in non-dev builds #100471

Merged

Conversation

dsnopek
Copy link
Contributor

@dsnopek dsnopek commented Dec 16, 2024

This fixes a crash that happens when using OpenXR composition layers, but only on non-dev builds (which is why I didn't notice it right away) and only when the fallback is used because the OpenXR runtime doesn't support a type of layer (I encountered this with the Meta XR Simulator, which supports quad and cylinder layers, but not equirect layers - this sample uses all layer types and can reproduce the issue).

The new code is a lot simpler too!

The issue was introduced by PR #96185 (sorry!) and present in all 4.4 dev releases since 4.4-dev2

@Repiteo Repiteo merged commit 4364ed6 into godotengine:master Dec 16, 2024
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Dec 16, 2024

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants