Skip to content

#1007 Fixed so that SteamVR.enabled doesn't allocate each frame#1073

Open
AndersMalmgren wants to merge 2 commits intoValveSoftware:masterfrom
AndersMalmgren:bug/1007
Open

#1007 Fixed so that SteamVR.enabled doesn't allocate each frame#1073
AndersMalmgren wants to merge 2 commits intoValveSoftware:masterfrom
AndersMalmgren:bug/1007

Conversation

@AndersMalmgren
Copy link

No description provided.

@smitdylan2001
Copy link

Does this break when a headset is plugged in after start?

@AndersMalmgren
Copy link
Author

Does this break when a headset is plugged in after start?

That array is determined at build time. It can't change.

@AndersMalmgren
Copy link
Author

Returns` a list of supported XR devices that were included at build time.

https://docs.unity3d.com/ScriptReference/XR.XRSettings-supportedDevices.html

@AndersMalmgren
Copy link
Author

I added a fix for UpdateActionSetsArray method allocating

@keithbradner keithbradner added the Fixed in next release Fix coming in next release label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fixed in next release Fix coming in next release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants