Search Unity

V 2019.2.2f now opens .unity with visual studio. how can i fix this?

Discussion in 'Editor & General Support' started by Rachzella, Aug 22, 2019.

  1. Rachzella

    Rachzella

    Joined:
    Oct 9, 2015
    Posts:
    78
    Whenever i double click scenes after updating unity. it opens visual code and puts the .unity scene editable in there. i don't know how to fix it and i only got it after installing it on a hardrive using Unity Hub. is there a fix? or what do i need to do.
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please share a screenshot.
     
  3. satchell

    satchell

    Joined:
    Jul 2, 2014
    Posts:
    107
    I'm also seeing this issue in 2019.2.2f. The issue is when I double click a .prefab file in the editor to edit a prefab for example it will open VS Code V 1.37.1.
     

    Attached Files:

  4. Rachzella

    Rachzella

    Joined:
    Oct 9, 2015
    Posts:
    78
     
  5. marnsmith

    marnsmith

    Joined:
    Feb 7, 2013
    Posts:
    29
    I have the same issue after updating to 2019.2.2f1
     
  6. Shizola

    Shizola

    Joined:
    Jun 29, 2014
    Posts:
    476
    Same here. Embarrassing.
     
  7. Zelre

    Zelre

    Joined:
    Dec 3, 2016
    Posts:
    55
    Same problem here... Just installed 2019.2.2f1. Scenes are trying to open using the External Script Editor.
    Quick fix for this is to set your External Script Editor to "Open by file extension". This isn't much of a problem for me as I use Script Inspector to edit scripts, but for users that use Visual Studio or any other external editors, it can be a problem.
     
  8. vr-ipe

    vr-ipe

    Joined:
    Oct 10, 2017
    Posts:
    1
    It seems only to happen with Visual Studio Code. When I use Visual Studio 2017 Community, the scene opens like normal in Unity.
     
  9. subramh

    subramh

    Joined:
    Jan 22, 2016
    Posts:
    5
    Same problem here... Looks like VSC is a no go in 2019.2.2f1. Can we not have VSC and Unity play nice with each other?? Unity, where is your QA department?
     
    Shizola likes this.
  10. spajus

    spajus

    Joined:
    Jun 10, 2015
    Posts:
    47
    For those who are having this issue, just update VS Code Unity package to 1.1.0, it fixes the issue.
     
    Bzuco, subramh, Sethers and 1 other person like this.
  11. Zelre

    Zelre

    Joined:
    Dec 3, 2016
    Posts:
    55
    This was also happening when I had Note++ as my script editor. Honestly, after trying to use 2019.2.2f1 for the past few days, I feel like uninstalling it and going back to 2018.3... It's hangs constantly, keeps giving me pink and cyan textures and the above problem. Really doesn't feel like a stable version to me. :\
     
  12. sreerajgh

    sreerajgh

    Joined:
    Aug 7, 2013
    Posts:
    22
    Same issue is here for me too..
     
  13. sreerajgh

    sreerajgh

    Joined:
    Aug 7, 2013
    Posts:
    22
    screenshot
     

    Attached Files:

  14. Shizola

    Shizola

    Joined:
    Jun 29, 2014
    Posts:
    476
    Update your VS Code package to 1.1.0 via the package manager window. It's semi hidden under a dropdown for some reason.
     
    Bzuco and HenxBWint like this.
  15. HenxBWint

    HenxBWint

    Joined:
    Aug 2, 2019
    Posts:
    1
    Thanks!
    Fixed it for me