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

XCode GPU Debugging not available

Discussion in '2019.3 Beta' started by alterhowdegen, Sep 1, 2019.

  1. alterhowdegen

    alterhowdegen

    Joined:
    Jul 28, 2016
    Posts:
    4
    After going to 2019.3.0b1 from 2019.2 XCode does no longer offer GPU debugging (including the FPS counter in the Debug Navigator, GPU Frame Capture etc.). Graphics API is set to metal, of course. Anybody experiencing the same issue?
     
    TimNedvyga likes this.
  2. TimNedvyga

    TimNedvyga

    Joined:
    May 18, 2015
    Posts:
    95
    yes, have same issue.

    Unity 2019.3.0b1/URP 7.0.1, Xcode 11.0 beta6/7 (11M392r)
     
  3. TimNedvyga

    TimNedvyga

    Joined:
    May 18, 2015
    Posts:
    95
    problem still exist in Unity 2019.3.0b2
     
  4. TimNedvyga

    TimNedvyga

    Joined:
    May 18, 2015
    Posts:
    95
    @alterhowdegen hey, got the answer form Unity support
     
  5. CrystalDynamo

    CrystalDynamo

    Joined:
    May 22, 2014
    Posts:
    120
    Thanks mate just the answer I needed.
     
    TimNedvyga likes this.
  6. LLLLXXXXLLLL

    LLLLXXXXLLLL

    Joined:
    Jun 26, 2016
    Posts:
    3
    there is no option named "Metal API Validation"
    What I need is GPU memory read bandwidth counter, any one know where it is?
     
  7. jawad_ahmad

    jawad_ahmad

    Joined:
    Apr 28, 2017
    Posts:
    35
    If you're on the latest XCode, the option for Metal API Validation moved into a different tab:

    upload_2021-5-3_18-4-10.png

    Although I'm not sure this is needed now for GPU debugging to work. As mentioned, the main part is having GPU Frame Capture set to Metal:

    upload_2021-5-3_18-5-33.png

    I've also found that I have to restart XCode after making that change. Then the option for GPU Frame Capture is available.
     
  8. naive_magic

    naive_magic

    Joined:
    Jun 5, 2020
    Posts:
    7
    I'm running Unity 2020.3.2f1 LTS on Mac OS Big Sur 11.2.2 and Xcode 12.4 and following the steps of Tim Nedvyga didn't help in getting "Capture GPU Frame" option to become un-greyed out. I'm using an eGPU if that makes a difference? Any help would be appreciated