Search Unity

  1. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

Resolved ARfoundation 4+UWRP7.3+Unity2019.4 not working(black screen and no tracking)

Discussion in 'AR' started by jinC_H, Jun 19, 2020.

  1. jinC_H

    jinC_H

    Joined:
    Aug 29, 2017
    Posts:
    10
    as the title
    I got the forward render pipeline setting correct
    -create custom forward render data
    -add ar render data to UniversalRenderPipleineAssts
    then I build the game, it shows a black screen, then I put a box in the screen, and build again the box looks like static, if the tracking works at least I should see a box located in the real 3D world, so I guess the tracking also stops working, and I noticed this:
    Captureeee.PNG

    it was working with Unity2019.3+ARfoundation 3.0, since unity released the new version, I want to update some of my old projects....but not sure did I made any mistake with new version??
     
  2. dstry

    dstry

    Joined:
    Jun 8, 2020
    Posts:
    2
    I have exactly the same issue, black screen no matter what and objects placed in space, the phone only track left/right movements and rotations, but no Z+ or Z- movement.
    At least it this is what look like, because the screen, except the objects, is totally black so I can only imagine what's going on.

    This issue only happen if the project is URP, if project is 3D everything works correctly
    ( sorry I'm a noob, I hope I explained myself )
     
    Last edited: Jun 19, 2020
  3. dstry

    dstry

    Joined:
    Jun 8, 2020
    Posts:
    2
    ok I'm an idiot, this was only because I positioned the objects too far away from the camera :)

    still no luck with the black screen....
     
  4. ms02

    ms02

    Joined:
    Jun 8, 2020
    Posts:
    2
    I’m also having the same issue. Haven’t been able to pinpoint the exact reason what’s causing the issue though!
     
  5. Harald_Heide

    Harald_Heide

    Joined:
    Jul 22, 2015
    Posts:
    70
    Looks like I'm stuck with Unity 3D project until this gets fixed for URP. (hate to downgrade..)
     
  6. Harald_Heide

    Harald_Heide

    Joined:
    Jul 22, 2015
    Posts:
    70
  7. Harald_Heide

    Harald_Heide

    Joined:
    Jul 22, 2015
    Posts:
    70
    If you already got an URP proj find the file ForwardRenderer in Settings directory in your project folder. In the Inspector go to Renderer features and add new Renderer Features. (you have arrived at your destination :) ) Unity URP 2019.4.4f1 ARFoundation 3.1.3 works at least
     
    Last edited: Jul 18, 2020
  8. UUUPA

    UUUPA

    Joined:
    Nov 7, 2017
    Posts:
    1
    My case. Camera does not start on iPad. The screen is black out.
    - Unity 2020.1.6f1
    - ARFoundation4.1.0 preview.9
    - URP 8.2.0
    After that, I remove ARFoundation 4.1 and import 3.1.5 in the same project, the camera works.
     
  9. KirillKuzyk

    KirillKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    708
    Here are all steps needed to set up AR Foundation with Universal Render Pipeline (URP):


     
    Last edited: Oct 21, 2020
    Fangh, Voronoi and Pavlko like this.
  10. Voronoi

    Voronoi

    Joined:
    Jul 2, 2012
    Posts:
    394
    I have been getting this too, always intermittently or after building or resetting my library.

    FINALLY, I believe I have tracked it down to making sure the 'Rendering' is set in all of the 'Quality' levels. Like in the image above, the Medium quality needs to be selected 'grey' and the URP is set to the Pipeline Renderering Asset.

    Almost all of the instructions show using the GRAPHICS tab only to set up the Pipeline Asset. My assumption would be that the Quality would default to what's in the GRAPHICS tab if it's null.
     
unityunity