Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.02k stars 1.12k forks source link

I want to confirm that URP works with ARFoundation and the ARFoundation examples #965

Closed dorkbot closed 2 years ago

dorkbot commented 2 years ago

Are there any known issues using URP with ARFoundation? Thank you.

ankur-unity commented 2 years ago

AR Foundation docs has a manual on how to configure URP for AR Foundation. https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/manual/ar-camera-background-with-scriptable-render-pipeline.html

rickygai commented 1 year ago

Found the latest updated information from this LINK.

creativewax commented 1 year ago

It might just be me but I have tried a few times over now, using Unity 2022 and v5.0 of AR Foundation, but every time I convert the project to URP I get a black camera stream on iOS, what's weird is going to the CPU Images example on my iPad shows all the other bits working, but I am getting weird artefacts around 3D objects and no camera stream no matter what I do?

ankur-unity commented 1 year ago

https://github.com/Unity-Technologies/arfoundation-samples/issues/1037#issuecomment-1337727183

there is a bug in URP on 2022.1 and 2022.2 that we're working to resolve. As a workaround, we have added a new AfterOpaques background rendering mode in ARCameraManager. More here: https://forum.unity.com/threads/ar-foundation-pre-5-0-and-urp-background-not-rendering.1302213/#post-8388111