Search Unity

Inability to debug Unity build with VS 2017 CE

Discussion in 'Editor & General Support' started by ThunderSoul, Mar 20, 2020.

  1. ThunderSoul

    ThunderSoul

    Joined:
    Sep 28, 2016
    Posts:
    63
    Hi all! I have quite a bit of difficulty debugging my Unity build with VS 2017 CE.

    This is my Unity Build configuration:


    Once built, I run the executable to get the message:


    I switch over to VS 2017 CE and attach to process:


    I select the executable, and VS attaches successfully. Also, the breakpoints are filled red, meaning the symbols are properly loaded, as expected.

    Still, the breakpoints do NOT hit. At all. The application is running as expected except for the bugs I need to iron out. The reason I'm doing this is because in Unity Editor everything works fine, except in the build, it doesn't. There's a "fade in" effect that works on half the objects only, so I need to debug why in the final build the fade in works half the time while in Editor the fade-in works all the time.

    What am I missing? I need some help with this... Thanks!