You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running on a device that currently supports stage space but doesn't support xrGetReferenceSpaceBoundsRect is causing my app to act on undefined data from World.BoundsSize.
Looking at the code, it properly checks for success and availability, but then returns true regardless of that success path.
I guess thinking this through, this is maybe an interesting case, because the BoundsPose is valid but BoundsSize is not. Do we want HasBounds to be true iif both pose and size are valid? If it's okay to have just one or the other, we might need some way to message that to the app.
Platform / Environment
Android, using an SK template, on 0.3.9-preview.432.
The text was updated successfully, but these errors were encountered:
Description
Running on a device that currently supports stage space but doesn't support
xrGetReferenceSpaceBoundsRect
is causing my app to act on undefined data fromWorld.BoundsSize
.Looking at the code, it properly checks for success and availability, but then returns
true
regardless of that success path.StereoKit/StereoKitC/xr_backends/openxr.cpp
Lines 140 to 152 in 646afee
I guess thinking this through, this is maybe an interesting case, because the
BoundsPose
is valid butBoundsSize
is not. Do we wantHasBounds
to be true iif both pose and size are valid? If it's okay to have just one or the other, we might need some way to message that to the app.Platform / Environment
Android, using an SK template, on 0.3.9-preview.432.
The text was updated successfully, but these errors were encountered: