-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
BugPlatform - XR SDKFor Issues and PRs related to Unity's XR SDK pipeline.For Issues and PRs related to Unity's XR SDK pipeline.
Description
Describe the bug
When the transform on the playspace goes from identity to non-identity, the spatial meshes get into an inconsistent state. Some appear to still be correctly aligned with the physical environment, but some are offset by the new MRTK playspace transform.
To reproduce
Steps to reproduce the behavior:
- Build app with spatial mesh visualization on (XR SDK) for HoloLens
- Run app.
- After seeing some spatial meshes display, trigger the setting of some obvious transform on the MRTK playspace (e.g. position=(1,1,1).
- Walk around some more, generating more spatial meshes.
- Note that some meshes are correctly aligned with physical environment, but some are offset by e.g. (1,1,1).
Expected behavior
All spatial meshes should still be aligned with their physical counterparts.
Screenshots
I tried capturing a screenshot showing some correct and some incorrect spatial meshes, but they all came out just looking like noise. It's very obvious in HoloLens when it happens.
Your setup (please complete the following information)
- Unity Version [e.g. 2020.3.2f1]
- MRTK Version [e.g. v2.6.1]
Target platform (please complete the following information)
- HoloLens 2
Additional context
- Have only seen this on XR SDK using Windows XR Plugin. Haven't tested extensively on other targets though.
Metadata
Metadata
Assignees
Labels
BugPlatform - XR SDKFor Issues and PRs related to Unity's XR SDK pipeline.For Issues and PRs related to Unity's XR SDK pipeline.