Error with WebXR AR on Android

Reproduced in Unity 2023.2.7f1 with Needle 3.32.10-exp

Local server running Collaborative Sandbox sample β†’ Open on Chrome android on Xperia 1 V, click AR then try to tap the reticule to place the AR model I get this error when exiting and checking the log

Uncaught TypeError: Cannot read properties of undefined (reading 'set')\n\t/node_modules/.vite/deps/chunk-VL444THT.js?v=02aec963:11045:38\nTypeError: Cannot read properties of undefined (reading 'set')
    at Input.onDown (https://192.168.50.90:3000/node_modules/.vite/deps/chunk-VL444THT.js?v=02aec963:11045:38)
    at Input.onTouchStart (https://192.168.50.90:3000/node_modules/.vite/deps/chunk-VL444THT.js?v=02aec963:10470:14)
    at https://192.168.50.90:3000/node_modules/.vite/deps/chunk-VL444THT.js?v=02aec963:10456:12

Original Post on Discord

by user 103054507105067008

Hello there – we have an experimental AI bot :robot: that might be able to help you with your question. Would you like to try this out?

Will try to reproduce, thanks

Uploading a report for it now just to help

by user 103054507105067008

I dont think its necessary

Ok maybe it’s necessary because I cant repro this here. Will try your project

Trying from a fresh clone of the Samples Project

by user 103054507105067008

It reproduces in your project

Happening in a completely separate project here too which I kept samples in

by user 103054507105067008

Ah its using samples?

Glad to hear it, it’s blocking me from testing all my AR fixes

by user 103054507105067008

I reproduced it from the samples here in a project I have just for the samples testing

by user 103054507105067008

Samples and the exp branch are not yet compatible - I hope to be able to make a release later today or tomorrow

It happens in my own scene too

by user 103054507105067008

alright

I’ll push you my scene also as a bug report now if you want

by user 103054507105067008

Is it the same error?

Yes

by user 103054507105067008

Uploaded - if you have any idea what the cause is if I can fix it on my end just let me know, I’m excited to try out the new WebXR refactors you added in the recent versions for my model viewer

by user 103054507105067008

Also are the AR drag/scale/rotate controls in by default now? I can replace my old hacky code for that

by user 103054507105067008