Search Unity

ARKit app cant't start when connecting to hdmi

Discussion in 'AR' started by ZhengzhongSun, Mar 16, 2018.

  1. ZhengzhongSun

    ZhengzhongSun

    Joined:
    Oct 12, 2016
    Posts:
    20
    I found a problem of the unity arkit sdk recently. It seems in the newer ios version since ios 11.2, but I didn't test it in every ios version. The test results are as following.
    1. I build an arkit app by using unity, it can run well.
    2. But when I connect my iphone to the monitor with hdmi and start the arkit app, It will crash directly.
    3. When I open the app in advance or put it in the background, and then connect it to monitor, it won't crash.
    4. The arkit app by using the ios native arkit doesn't have this problem.
    How to solve this problem?
    Any advice will be appreciated. Thank you very much!
     
    h4kkr likes this.
  2. ZhengzhongSun

    ZhengzhongSun

    Joined:
    Oct 12, 2016
    Posts:
    20
    Update: It seems there are no problem on ios 11.1.2. It just happen on the newer version.
     
  3. ZhengzhongSun

    ZhengzhongSun

    Joined:
    Oct 12, 2016
    Posts:
    20
    It seems the problem is the verison of Unity. When I upgrade form unity 2017.1.0f3 to 2017.3.1, it works.
     
    h4kkr likes this.