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

ARVRCamera with viewport freezes interface #56069

Closed
BastiaanOlij opened this issue Dec 19, 2021 · 1 comment
Closed

ARVRCamera with viewport freezes interface #56069

BastiaanOlij opened this issue Dec 19, 2021 · 1 comment

Comments

@BastiaanOlij
Copy link
Contributor

Godot version

3.4.x e937963

System information

Windows 10

Issue description

Due to a fix done to prevent the viewport from resizing based on the window resize (the viewport size when ARVR is enabled is controlled by the ARVRServer as it needs to be much larger than what ends up being displayed), when using a secondary viewport no buffers are created until the ARVRInterface is initialised. This never happens in the editor resulting in Godot failing when rendering a preview of the viewport.

The workaround for this is to leave the ARVR switch on the viewport off and enable it in code after the ARVRInterface is initialised.

The fix for this should be that vp->size = arvr_interface->get_render_targetsize(); is executed earlier

Steps to reproduce

Create a scene with a viewport as the root node with arvr enabled and a size set
Add an ARVROrigin node
Add an ARVRCamera node

Watch the UI becoming unresponsive

Minimal reproduction project

No response

@akien-mga
Copy link
Member

Fixed by #56072.

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

2 participants