Search Unity

Question Upgrading AR Foundation breaks webcam

Discussion in 'AR' started by apiotuch_unity, Oct 20, 2020.

  1. apiotuch_unity

    apiotuch_unity

    Joined:
    Jun 28, 2019
    Posts:
    138
    Currently using Unity 2019.4.5f1
    Upgrading AR Foundation from 3.0.1 to 4.0.9 breaks webcam.
    1. Had AR Foundation 3.0.1 + subsystem, + XR Management in project
    2. Migrated project to use URP.
      • webcam broke
    3. added the AR Feature in the Asset Pipeline.
      • That enabled the camera again.
    4. Upgraded to AR Foundation 4.0.9
      • Camera no longer works, appears gray for iPhone devices (testing with iPhone XR)
      • AR objects appear on screen but background is not webcam
    Does anyone know how to fix this issue?
     
    Last edited: Oct 21, 2020
  2. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,143