[SOLVED] 8th Wall: Camera Feed not hiding

I am trying to hide the camera feed in my 8th Wall app, using:

but its not hiding it, also I tried doing

I have two buttons i.e “Run AR” and “Stop AR”, on the run Ar I am doing the runXr which runs perfectly after opening the camera feed, now if I try to hide/stop the Xr session it gets stuck( moving the phone doesnt move the camera while the camera feed is still open(the last frame ) in its stuck state is there).

Project & Script: https://playcanvas.com/editor/code/738888?tabs=38290361

Maybe related? Clear Camera render of 8th wall camera Before switch to playcanvas camera

1 Like

Fixes the issue, Thanks