how to connect and use webcam as AR cam on play mode

Hey everyone , does anyone can help me with this webcam issue , i want to use web cam as AR cam in play mode so that i don't have to create a build for testing on device < please help me with this

Try XR Simulation, a feature from Unity to test your AR app in the Editor https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@5.0/manual/xr-simulation/simulation-overview.html

1 Like

To expand on Cindy's answer, neither Unity, nor ARCore, ARKit, or OpenXR support AR using a webcam as the camera. We recommend XR Simulation.

I want to second this. Having XR simulation simply use the webcam as the camera feed input would be such an amazing feature to shorten the development roundtrip.