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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Hang Risk Warning - Unity 2021.3.16f1 and XCode 14.2

Discussion in 'iOS and tvOS' started by newguy123, Jan 16, 2023.

  1. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,236
    Hi guys, any idea what this is and how to solve it?

    I'm authoring an AR Foundation 5.0.3 app on Windows with Unity 2021.3.16f1 then building to XCode and copying over to M2 Mac.

    Then using XCode 14.2 I open the project and build. It builds and works, however I get these warnings. Do I need to fix them for testflight?

    upload_2023-1-16_15-22-35.png
     
  2. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    505
    If you don’t actually see a hang, don’t worry about it. Before this check is added in Xcode 14, things are just fine. These are just potential places that can hang, but whether it will hang depends on how the app is written.
     
  3. mcaleerkj

    mcaleerkj

    Joined:
    Mar 6, 2015
    Posts:
    2
    FWIW I am receiving the exact same errors in XCode using the same Unity and XCode versions as you. (Unity 2021.3.16f1 and XCode 14.2)
     

    Attached Files:

  4. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    505
    Again, these are not errors. These are diagnostic warnings. If the app does not actually hang, they can be ignored for the time being.
     
  5. Nonius

    Nonius

    Joined:
    Nov 16, 2014
    Posts:
    3
    Same here. Ignoring As advised, until further notice. gr. Sven
     
  6. Gideon823

    Gideon823

    Joined:
    Mar 10, 2023
    Posts:
    1
    And what if it does hang? I'm getting very poor performance on an extremely simply game, and I, too, have these warnings. I wonder if they have something to do with the problem I'm experiencing.
     
  7. justokrat

    justokrat

    Joined:
    Jan 7, 2023
    Posts:
    1
    I have exactly the same errors, and my application crashes after some time. Does anyone know what to do?