Search Unity

Unity Editor Freeze with Visual studio code attach for debugging.

Discussion in 'Editor & General Support' started by Most_Incredible, Aug 23, 2020.

  1. Most_Incredible

    Most_Incredible

    Joined:
    Jan 25, 2012
    Posts:
    36
    Hi Fellow Devs,

    I am using Unity2019.4.7 and using visual studio code 1.48.1 . While i attach unity for debugging with the VS code, my unity editor freezes. i have found an alternative way to unfreeze it , by switching off the firewall as mentioned in this link
    https://docs.microsoft.com/en-us/vi...tools-for-unity?view=vs-2019#unable-to-attach
    I have tried adding the unity hub ,vs code, unity editor in the exclusion list in the firewall.

    There is an another way mentioned in the link above , is setting a new rule for TCP/UDP btw Unity and VS code.I am not getting how to achieve this. Your help is much apprecated here.

    Cheers.
     
  2. Starlinetor

    Starlinetor

    Joined:
    Aug 20, 2020
    Posts:
    7
    Hi i am not an expert programmer but i suggest you to update unity and visual studio.