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

Graphic API debug layer

Discussion in 'Shaders' started by genetic_priest, Feb 18, 2021.

  1. genetic_priest

    genetic_priest

    Joined:
    Jan 17, 2021
    Posts:
    5
    Is it possible to turn on debug layer for DX11 to check possible issues in pipeline?
    I observe strange situation when same code on different PCs behaves differently - on my home gaming desktop it crashes, but on notebook it runs fine. It would be nice to have full information if everything is fine...
     
  2. genetic_priest

    genetic_priest

    Joined:
    Jan 17, 2021
    Posts:
    5
    I've managed to see debug layer output:
    1. Add Unity.exe to Visual Studio Graphics Debug panel list
    2. Start Unity
    3. Attach to Unity process in empty Visual Studio project
    4. Enjoy DX Debug layer output