arfoundation-samples
arfoundation-samples copied to clipboard
ARPlanes are transparent except outline?
Using SimpleAR scene, ARPlanes are transparent except their outlines no matter what material I use on the sample plane prefab.
Unity Version: 2019.1.5 Project Branch: lwrp-support-2019.1-with-2.1 Scene: SimpleAR Plane Prefab: AR LWRP Plane Debug Visualizer Plane Material: LWRPPlane
Device: Galaxy S9+
Steps to reproduce:
- Download project from repo
- Set custom renderer in ARCameraBackground (otherwise no camera image)
- Set plane prefab in ARPlaneManager (for LWRP shader)
- Build and run
Any detected planes will be outlined in black, but entirely transparent.
This sounds like you haven't updated your materials to LWRP (now UniversalRP). See https://docs.unity3d.com/Packages/[email protected]/manual/upgrading-your-shaders.html