Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The whole AR scene jumps to the side 10-15 sek after placement #176

Closed
6 tasks done
llllkatjallll opened this issue Aug 30, 2023 · 5 comments
Closed
6 tasks done
Labels
bug Something isn't working third party issue

Comments

@llllkatjallll
Copy link

Describe the bug 💬

After placing a simple AR scene (via clicking on the white circle on the floor/table) the scene stays on the right position, but after 10-15 seconds it disappears and appears ca. 1-1.5 meter away from the previos position, on the right side.
I testet it on several Android phones with good light condition, it still happened every time.

Operating System 👩‍💻

Windows

What browsers are you seeing the problem on? 🏄‍♂️

Chrome

Editor Version 🎲

2021.3

Needle Exporter version

3.11.6

Project Info (Unity only) 📜

{
  "ExportInfoGameObjectName": "Export Info",
  "ExportInfoGameObjectIsEnabled": true,
  "UnityProjectPath": "E:/GIT/immersive-hackathon-2023/development/Immersive Hackathon 2023/Assets",
  "UnityVersion": "2021.3.29f1",
  "SceneName": "BugreportScene",
  "ProjectPath": "Needle/SkyCreatorNeedleScene",
  "ProjectDirectoryExists": true,
  "ProjectIsInstalled": true,
  "NeedleEngineInstalled": true,
  "HasNodeInstalled": true,
  "NodeVersion": "v16.15.0",
  "NpmVersion": "8.5.5",
  "TypescriptVersion": "'tsc' is not recognized as an internal or external command,; ; operable program or batch file.; ; ",
  "HasTokTxInstalled": true,
  "HasMinimumToktxVersionInstalled": false,
  "RenderPipeline": "URP-HighFidelity (UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset)",
  "GzipEnabled": false,
  "NeedleEngineExporterVersion": "3.11.6",
  "NeedleEngineVersion": "3.11.6",
  "NeedleEngineSamplesVersion": null,
  "NeedleEngineExporterPath": "Packages/com.needle.engine-exporter/package.json",
  "NeedleEnginePath": "E:/GIT/immersive-hackathon-2023/development/Immersive Hackathon 2023/Assets/../Needle/SkyCreatorNeedleScene/node_modules/@needle-tools/engine/package.json",
  "FileStats": "By Type:\r\n\t.glb →  x 1 = 0,6 mb\r\n\t<b>Total = 0,6 mb</b>\r\n----\r\nBy Directory:\r\n\tassets →  x 1 = 0,6 mb\r\n",
  "NeedleComponentsInScene": [
    "Needle.Engine.ExportInfo",
    "Needle.Engine.Codegen.ComponentGenerator",
    "Needle.Engine.Deployment.DeployToGlitch",
    "Needle.Engine.Components.GltfObject",
    "Needle.Engine.Components.ObjectRaycaster",
    "Needle.Engine.Components.WebARSessionRoot",
    "Needle.Engine.Components.OrbitControls",
    "Needle.Engine.Components.WebXR"
  ],
  "TypeCacheIsDirty": false,
  "TypeScriptTypes": []
}

Steps to reproduce 🔢

1) Create an object that should appear in AR and put it in AR Session root on position (0,0,0).
2) Export the project and open it with Android phone/tablet. ( or open my bugreport website https://bugreport-ar-placement.glitch.me/)
3) Start AR mode, place the scene in front of you. 
4) Wait for 5-20 sec, look at the AR object.
5) Expected: suddenly object disappears and appears on your right

Reproduction ♻

https://bugreport-ar-placement.glitch.me/

I also uploaded the unity-project with the reproduction.

Discord or Discussion link

No response

Validations 🩹

@llllkatjallll llllkatjallll added the untriaged Newly reported issue label Aug 30, 2023
@marwie marwie added bug Something isn't working and removed untriaged Newly reported issue labels Sep 3, 2023
@marwie
Copy link
Member

marwie commented Sep 3, 2023

thanks for the report. reproduced on android with the vite template

@marwie
Copy link
Member

marwie commented Sep 3, 2023

I see the same issue in three.js' AR example https://threejs.org/examples/webxr_ar_hittest.html
Can you confirm that @llllkatjallll ?

and I also had a few tests where modelviewer.dev did disappear and then re-appear
I also tested with Needle Engine versions going 3 months back and it consistently happened (using three 146) so it might perhaps be a chrome bug (i see the same behaviour in chrome canary as well)

@marwie
Copy link
Member

marwie commented Sep 3, 2023

Opened an issue in three to get more information mrdoob/three.js#26686

@marwie
Copy link
Member

marwie commented Sep 3, 2023

@marwie marwie added third party issue bug Something isn't working and removed bug Something isn't working labels Sep 3, 2023
@marwie
Copy link
Member

marwie commented Sep 27, 2023

Fixed in 3.19.1

@marwie marwie closed this as completed Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working third party issue
Projects
None yet
Development

No branches or pull requests

2 participants