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

Bug Unity Graphics API and Sonoma compatibility issue in builds

Discussion in 'macOS' started by michaelthewanderer, Oct 2, 2023.

  1. michaelthewanderer

    michaelthewanderer

    Joined:
    Jul 15, 2018
    Posts:
    12
    Hi,

    I'm having an issue when building from Unity 2023.1.15f1 on OSX Sonoma 14.0.

    My rendering pipeline is essentially 3 calls in sequence to Graphics.DrawProcedural.

    The game works fine in the Unity editor and everything shows up, however since updating to OSX Sonoma and Xcode 15 last night, all builds only show a black screen. I can confirm from game audio that my game is running correctly, but the frame debugger shows that no geometry is actually being drawn.

    Non-procedural rendering is working (I built my project with the unity default sphere in the middle and this did show up).

    Unity is not reporting any errors and I am able to build the project successfully in Xcode, but all I see when it is running is a black screen.

    Any help would be appreciated,

    Thanks
     
  2. Alexey

    Alexey

    Unity Technologies

    Joined:
    May 10, 2010
    Posts:
    1,602
    we don't expect things to be broken by xcode/macos update (especially "no geometry is being drawn", no)
    can you bug report with repro project? (you can drop case number here)
     
  3. michaelthewanderer

    michaelthewanderer

    Joined:
    Jul 15, 2018
    Posts:
    12
    Thanks for your reply, I have just dropped a bug report:
    CASE IN-57048

    After further testing and to summarize, it seems:
    1. I am able to build for osX on Sonoma from Unity 2022.1 on my M1 MacBook, the graphics calls draw successfully.
    2. When I update back to Unity 2023.1.15f1 on my M1 MacBook, the builds are back to black, the graphics calls are not executed by the build. This is confirmed by the frame debugger in Unity. The Graphics.DrawProcedural calls are never executed it seems...
    3. On my M2 MacBook Air running Sonoma, I am only getting a black screen for my osX build form both Unity 2022.1 and 2023.1.15f1.
    4. On both my machines, I only get a black screen when building for iOS and running on an iOS device.
    5. In all cases, I still hear the procedural audio from my game and debug messages in the console generating correctly, so I know the overall game loop is running fine.
    6. Again, to reiterate, this started when I upgraded to Sonoma, I'm not sure if there were changes to the Metal API that might be causing this...

    I'm starting to really freak a bit, any input or ideas would be much appreciated.

    Thanks,