Skip to content

OpenXR breaks get_rendering_device and create_local_rendering_device #1345

Description

@vrtood

Tested versions

Reproducible in: Redot 26.2 beta 1, and above (this is the first one where the issue can be reproduced){v26.2.beta.1.official [5b6b4ff]}

Not reproducible in: 26.1.stable, and below

System information

liunx-CachyOS, Vulkan, NVIDIA GeForce RTX 3060 Lite Hash Rate , Intel(R) Core(TM) i7-10700F

Issue description

in forward+ and mobile renderer
.get_rendering_device() and .create_local_rendering_device()
gives null when OpenXR is enabled

Steps to reproduce

open a project in 26.2-beta.1 or above
enable OpenXR in Project Settings
make a script with:

extends Node

var rd: RenderingDevice

func _ready():
rd = RenderingServer.get_rendering_device()
prints("rd get_rendering_device is",rd)
rd = RenderingServer.create_local_rendering_device()
prints("rd create_local_rendering_device is",rd)

Minimal reproduction project (MRP)

OpenXR_bug.zip

Activity

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

Metadata

Metadata

Assignees

Type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions