Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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 /
  • Help Room /
avatar image
6
Question by Aeridis · Nov 09, 2019 at 04:51 PM · visual studiovisualstudio

Visual Studio Opens Every Time I Create/Delete a Script

Whenever I have an instance of Visual Studio open and I create or delete a script, Visual Studio always has to pop open. It doesn't even open the new script I create (if I created one), it just pops up with whatever script I had open at the time.

This is super annoying because I sometimes accidentally create a new C# script when I meant to make a new folder. Only way I've found to get around this is to completely close Visual Studio while I organize files in Unity.

How can I get VS to stop opening automatically? I'm using VS 2019 Community.

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 TA_Laci · Mar 12, 2020 at 12:07 PM 1
Share

Hi @Aeridis. It's been a while since you asked the question. Did you manage to find a solution for this? I would like to get rid of this behaviour too.

avatar image Aeridis TA_Laci · Mar 12, 2020 at 01:31 PM 1
Share

No, I haven't. It's still a problem I'm having when I try scripting. I've been using play$$anonymous$$aker recently, though, so I haven't had to deal with this problem too much.

avatar image Shadowblitz16 · Mar 21, 2020 at 06:43 PM 1
Share

I am also having this problem

avatar image AntiHedra · May 28, 2020 at 11:55 PM 0
Share

Yeah I'm getting this as well, it's super annoying.

avatar image filay11_unity · Jul 24, 2020 at 09:29 AM 0
Share

i'm also having this problem too! Help us somebody!

avatar image Cadex · Jun 08, 2021 at 03:18 AM 0
Share

I am having the same issue (VS 2019, Unity 2020.3.11f1, Win10). Has anyone managed to fix it without "introducing more problems" as mentioned in the only reply?

3 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by AntiHedra · May 29, 2020 at 12:02 AM

I have no idea what did it but I went under Build and clicked every option for building/rebuilding the solution and Assembly-CSharp and it stopped.

Edit:

OK that only worked for like a minute or 2, I found how to actually stop this behavior but it introduces even more problems, in Visual Studio: Tools > Options > Tools for Unity > General > Automatic project reloading, set this to false BUT now autofill is broken and VS doesn't recognize any classes or default methods... so I guess VS + Unity is just broken for some people, awesome :]

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 gareth_untether · Jan 12 at 07:12 PM

Is there a why to fix this? So frustrating creating a script in Unity and having Visual Studio refresh. It would be mildly ok if VS actually opened the new script, but it doesn't.

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 Erethan · Mar 15 at 06:36 PM

Updating the following packages inside the Package Manager worked for me:

  • Visual Studio Code Editor Visual

  • Visual Studio Editor

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

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.

Follow this Question

Answers Answers and Comments

198 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

Related Questions

Visual Studio doesn't show function description 0 Answers

Editor attaching stops working 1 Answer

Visual Studio Error 0 Answers

Why after importing Standard Assets my Visual Studio Solution has 3 projects ? 1 Answer

Variable not updating/saving ! 1 Answer


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