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. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

Bug c# files open in notepad until manually edited

Discussion in '2020.1 Beta' started by Symo7, Apr 30, 2020.

Thread Status:
Not open for further replies.
  1. Symo7

    Symo7

    Joined:
    Mar 2, 2014
    Posts:
    23
    Since updating to b7 c# files when opened via Unity will open in notepad rather than Visual Studio (2017) until a file is edited which forces a refresh in the editor. This then mends the link between Unity and VS. This worked fine in b2.

    Also if you make that initial edit in a manually started copy of Visual studio, once you double click a file in Unity it will open a second copy of VS.

    In addition to this, some runtime errors seem to break the link again. I also moved some script files to a subfolder and it broke ALL gameobject script links. This is making scripting hell at the moment.

    On top of that Attach to process is no longer working either so no debugging. Attach (in the toolbar) briefly appears when VS starts then gets replaced with the regular Start once its loaded. Debug -> attach to unity debugger does work but you have to select the Unity instance each time.
     
    Last edited: Apr 30, 2020
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,050
    If the above doesn't work, could you please submit a bug report for these issues?
     
  3. miniwolf_unity

    miniwolf_unity

    Unity Technologies

    Joined:
    Apr 10, 2018
    Posts:
    132
Thread Status:
Not open for further replies.