-
Notifications
You must be signed in to change notification settings - Fork 23
Using openvr on windows leads to TrackedDevicePose_t uninitilized error #105
Comments
And indeed proper initilizing the struct, resolves this error.
After a quick google, this error ocours because, At this point i would encourage to use either a sane Default implementation or using MaybeUninit! But i see this all over the code base, so it would be really nice to fix this. |
Servo mostly switched over to https://github.com/servo/webxr which has a safer design. |
More specifically: this crate is unmaintained, and we would be happy to hand over control of it to anybody who would like to maintain it. |
Well, it seems, that in genarel OpenVR is outdated in the favor of OpenXR. Or is there any real need for this repo, that i am not aware of? |
The only use case for this repo that I'm aware of is for VR integration on platforms where openxr isn't available. |
This would be the HTC Vive Cosmos for example :) |
Hi,
i am using the HTC Vive on windows, with OpenVR.
If i start use the device like in the example, i get an error, TrackedDevicePose_t uninitilized.
The stacktrace leads to:
https://github.com/servo/rust-webvr/blob/master/rust-webvr/src/api/openvr/display.rs#L118
At first i tought i did setup the device wrong, but seeing the code two lines above. Can it be, that indeed struct should be initilized?
Rust Version:
nightly-x86_64-pc-windows-msvc (default)
rustc 1.53.0-nightly (07e0e2ec2 2021-03-24)
The text was updated successfully, but these errors were encountered: