Galaxy XR: device spatial map silently relocalizes and drifts during extended use, invalidating pre-aligned content placement
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- android, unity
- 領域
- mobile-dev
調査の方向性
Start by reviewing the reported Unity OpenXR, Android XR OpenXR, AR Foundation, and scene meshing versions alongside the logcat events and mesh update counts in the issue. Reproduce the map shifts and pose jumps across sessions, then check which documented tracking events or states expose them. Done means the cause and supported detection or prevention options are established; the issue names no source files or tests to start from.
索引モデルが issue の本文から書いたものです。
説明
Environment
- Device: Galaxy XR (SM-I610), Build: <ro.build.fingerprint>
- Unity 6000.3.9f1
- Android XR Unity extension v1.3.1 (Scene Meshing in use)
- Unity OpenXR 1.17.0, Android XR OpenXR 1.3.0, AR Foundation 6.5.0
- XR_ANDROID_scene_meshing revision 3
Usage context
We operate a mixed reality horror experience in an indoor venue with a route of about 80 m. Multiple headsets are used all day, and a staff member accompanies each guest. At the start of each session, we align the live scene mesh to a pre-scanned reference map, and then use that alignment to place content per zone. Because of this, the device's spatial coordinates must stay stable for the duration of a session (about 10 minutes).
Problem
When a headset is left on without rebooting and runs multiple sessions back to back, the device's spatial information changes or shifts on its own. As a result, content that was correctly aligned becomes misplaced mid-session, and the app has no way of knowing it happened.
-
The device relocalizes on its own. About 15 minutes after boot, immediately after we had re-aligned the content correctly, logcat printed "[MLOC] ... larger than 2 meters" and "[SpaceChanged] World space changed" three times within 20 seconds. The map shifted by 2.2 m, 3.6 m, and 2.6 m. The map ID changed, anchors became NOT_FOUND, and the entire layout was misaligned. The app did not receive any event indicating that the tracking origin had changed.
-
Sudden head-pose jumps. Right after alignment, the head position jumped by about 28 m within 0.5 seconds. In another session it jumped by 6.5 m. Again, no event was delivered.
-
Gradual drift. In later sessions on the same boot, certain areas drifted by 0.6-1.6 m while the device tracking state still reported normal.
-
Stale mesh retention and bulk refreshes. On the same boot, relaunching the app causes 300-4,700 meshes from the previous session to arrive within a few seconds. The device also periodically replaces nearly the entire mesh set (e.g., 4,121 added and 4,109 removed within 5 seconds), and the update volume grows over time (about 195 -> 617 added per 5 seconds). During this, the frame rate drops to as low as 3 FPS, with freezes of 1-7 seconds.
Summary
The device appears to switch on its own between stored spatial maps that are several meters out of agreement with one another. The app can neither prevent nor detect this, so a pre-aligned setup becomes invalid without warning. The only workaround we currently suspect is rebooting the headset, and even that is based on conjecture rather than confirmed behavior.
Questions
-
Under what conditions does the device relocalize (MLOC) and switch maps during use? Does the frequency increase with uptime or with the number of stored maps?
-
Is there a reliable way for an app to detect a spatial coordinate change (relocalization)? Are there specific events or states we should monitor?
-
Can relocalization to previously stored maps be disabled during an experience, or can the device be pinned to the current map?
-
Is there an API or setting to clear stored spatial maps and the mesh cache? Does a reboot clear them?
-
For venues that operate continuously all day, is there a recommended operating practice (e.g., periodic reboots, map reset)?
-
Our venue is dimly lit with many black surfaces. Does low light increase drift or relocalization? Is there a recommended minimum lighting level?
- 主要言語
- C#
- スター
- 95
- フォーク
- 14
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
android/android-xr-unity-package のほかの issue
-
[Feature Request] Support XR_MSFT_first_person_observer for accurately aligned mixed reality captureオープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
android/android-xr-unity-package#30 · コメント 1 件 ·
-
難易度 4/5 1〜2日 初心者へのやさしさ 18/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
android/android-xr-unity-package#28 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
android/android-xr-unity-package#26 · コメント 1 件 ·
android/android-xr-unity-package の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Facepunch/sbox-public#12456 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
mcneel/rhino.inside-revit#1736 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
reactiveui/Primitives#254 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Kyrodan/KeeAnywhere#510 ·
-
area-Tools-ILLink untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信