Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

AR Background Renderer Asset

Discussion in 'AR' started by synok, Aug 27, 2019.

  1. synok

    synok

    Joined:
    Jun 7, 2011
    Posts:
    126
    Hello! I amusing LWRP along with AR Foundation, but have not figured out a way to make them both work properly. I tried searching for the LWRPSupport folder, but cannot find it. My guess is that it has been deprecated and integrated somewhere else.

    So when I run my app, I can see my model, but the background is black. I guess I need to plug something into the "Custom Renderer Asset (AR Background Renderer Asset)". It doesnt seem to want to take a normal class in there. So I am not sure what I am supposed to put there.

    Any links to this mysterious "asset" would be appreciated.

    Unity 2019.2.2f1
    Plugins I use:
    AR Foundation 2.1.3
    AR Subsystems 2.1.0
    ARCore XR Plugin 2.1.1
    LWRP 6.9.1
    XR Legacy Input Helpers 2.0.6

    I read somewhere that downgrading the Unity version and using a very specific LWRP version might get it to work. I am just wondering if we are supposed to downgrade and read up on specific versions based on our purpose before we choose to use the latest?
     
    Last edited: Aug 27, 2019
  2. RealMSHB

    RealMSHB

    Joined:
    Jan 25, 2017
    Posts:
    2
    I have the same problem
     
  3. tdemachy

    tdemachy

    Joined:
    Mar 24, 2016
    Posts:
    3
    I've been able to make it work with more or less the same package versions. In my case, the black screen was due to the background shader not correctly injected in the render pass.
    Feel free to take a look at my fork of LWRP support : https://github.com/tdemachy/arfoundation-samples.git and branch lwrp-support-2019.2

    Best
    /Thomas
     
  4. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    229
    Upgrade to AR Foundation 3 (see all versions)
     
  5. peterfiveeight

    peterfiveeight

    Joined:
    Jun 24, 2013
    Posts:
    9
    Thanks for this, saved me a load of trouble.

    Is there anywhere we can keep track of when something is out of preview.