• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
8
Question by dbchest · Aug 20, 2019 at 01:25 AM · erroreditorscenevisual studiobehavior

Double clicking scene asset opens the asset file in visual studio

I am not sure what I did to activate t$$anonymous$$s feature, but whenever I double click on a scene asset to open that scene for editing in unity, unity instead opens that scene asset in visual studio code for editing. again, I am not exactly sure what happened that caused t$$anonymous$$s but if anyone knows how I can get the editor to return to its default behavior of opening the scene in unity for editing I could really use the advice!

Comment
Add comment · Show 6
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mattvnr · Aug 22, 2019 at 07:43 PM 1
Share
avatar image sacredgeometry · Aug 22, 2019 at 07:46 PM 1
Share
avatar image Parokonnyy · Aug 23, 2019 at 10:18 AM 1
Share
avatar image Nullmind · Aug 23, 2019 at 09:13 PM 1
Share
avatar image depaglia · Aug 24, 2019 at 12:20 PM 2
Share
Show more comments

5 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by mattvnr · Aug 29, 2019 at 08:59 PM

Please update the "Visual Studio Code Editor" package through Packet Management. I faced the same issue and updating the package from 1.0.7 to 1.1.0 fixed the issue for me.

Hope that helps.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image BeaconDev · Sep 21, 2019 at 09:39 AM 0
Share
avatar image dbchest · Oct 05, 2019 at 07:05 PM 0
Share
avatar image Rock-Soft · Jan 07, 2020 at 02:41 PM 0
Share
avatar image
0

Answer by seanyasno · Aug 24, 2019 at 08:35 PM

The same t$$anonymous$$ng happens to me but it's like that only with VSCode. When I switched back to VS 2017 everyt$$anonymous$$ng works fine. Also, it happens to be only on Unity 2019.2.2f1.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by YetAnotherKen · Aug 24, 2019 at 07:55 PM

There is a option in Edit -> Preferences where you can change your external editor.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mattvnr · Aug 25, 2019 at 06:01 PM 0
Share
avatar image
0

Answer by starfoxy · Aug 25, 2019 at 12:37 AM

I was having the same issue on Windows, Unity 2019.3.0a12 and Visual Studio Code. I went into Unity preferences and changed the external script editor setting to: "Open by file extension". Scenes open normally now on double click. The first time I double clicked a script, Windows asked me what I would like edit .cs files with. I selected VSCode to always open these types of files. Now everyt$$anonymous$$ng is back to normal. Was working fine previously on Unity 2017/2018 so not sure what changed.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image YetAnotherKen · Aug 25, 2019 at 01:42 AM 0
Share
avatar image starfoxy YetAnotherKen · Aug 25, 2019 at 02:24 AM 0
Share
avatar image YetAnotherKen starfoxy · Aug 25, 2019 at 05:24 PM 0
Share
avatar image mattvnr · Aug 25, 2019 at 06:01 PM 0
Share
avatar image
0

Answer by dbchest · Oct 05, 2019 at 07:04 PM

for any of you who may still be experiencing t$$anonymous$$s problem, the solution for me was to open the package manager and update the vs code editor package to the latest version.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Levr01 · May 29, 2021 at 10:38 AM 0
Share

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

200 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Failed to unpersist: MonoBehaviour ID and then unity destroys our scene. 3 Answers

HingeJoint2D Input connectedAnchor is { NaN, NaN }. in Editor 0 Answers

Project and Hierarchy in Editor becoming red 0 Answers

I'm using Unity 5.4.When I run my Unity project, in the hierarchy window it shows as "filename(Not loaded)". _Also, the project freezes_ 0 Answers

Ho do I find all scenes with a certain script on an GameObject 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges