Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UWP IL2CPP Debugging

Discussion in 'Windows' started by John-Lisenby, Jan 30, 2019.

  1. John-Lisenby

    John-Lisenby

    Joined:
    Nov 8, 2013
    Posts:
    122
    Hello,

    I need to debug my UWP game once I deploy it out of Visual Studios to my local computer. I’m not sure of the steps to set my Visual Studio project up to UWP debugging. Any advice or suggestions?

    Thanks,

    John
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,646
    It's the same as any other Unity platform.

    In Unity build window enable "Script debugging" checkbox. Also, make sure internet capabilities (private networks, internet client and server) are enabled. Then, run your game. In Visual Studio with your scripts, press Debug -> Attach Unity debugger and then attach to your game.