Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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,143
    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:
    141
Thread Status:
Not open for further replies.