Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

AR Foundation + LWRP - Camera background messed up on Android + iOS

Discussion in 'AR' started by Bitfabrikken, Dec 28, 2018.

  1. Bitfabrikken

    Bitfabrikken

    Joined:
    Mar 24, 2013
    Posts:
    34
    Hi all, hope someone can help me :)

    The camera background doesn't work for me with all the latest packages installed.
    Both on iOS and Android devices, the camera background looks really messed up, with white noise, duplicated broken graphics, etc.

    I'm think I have use a "Custom Renderer Asset" on the ARCameraBackground component attached to the camera.
    But where do I find it? The one in the lwrp_support branch of the AR Foundation samples doesn't work at all, giving lots of errors (which I've of course tried to fix).

    How does one use the latest version of AR Foundation and Lightweight Render Pipeline on iOS/Android devices, with the camera background working?

    I did get it working using the samples branch mentioned above, but it's on very old version of LWRP (3.3.0) and doesn't appear to support any kind of shadows.


    Versions etc.:

    Unity 2018.3.0f2 on Windows 10
    Unity 2018.3.0f2 on macOS 10.14, Xcode 10.1
    Android device: Pixel XL, Android 9
    iOS device: iPhone SE, iOS 11.4.1

    Relevant packages:
    {
    "dependencies": {
    "com.unity.package-manager-ui": "2.0.3",
    "com.unity.render-pipelines.lightweight": "4.6.0-preview",
    "com.unity.shadergraph": "4.6.0-preview",
    "com.unity.xr.arcore": "1.0.0-preview.24",
    "com.unity.xr.arfoundation": "1.0.0-preview.22",
    "com.unity.xr.arkit": "1.0.0-preview.20",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
    }
    }
     
  2. rob_ice

    rob_ice

    Joined:
    Nov 11, 2016
    Posts:
    112
    I am always thinking I'm ready to make the move to using LWRP with AR Foundation on my next project but I always see a forum post like this one that puts me off haha, hopefully someone can answer here to help you
     
  3. KrikeyAdmin

    KrikeyAdmin

    Joined:
    Feb 5, 2018
    Posts:
    29
    From my understanding, currently only LWRP 3.3.0 is supported. I remember seeing a post by a unity dev saying that support for the latest version was on it's way.... that was around a month ago though.
     
  4. jimmya

    jimmya

    Joined:
    Nov 15, 2016
    Posts:
    793