Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
1
Question by Wrymnn · Mar 14, 2015 at 05:13 PM · visual studio

Visual Studio - Unity problems

I use Visual Studio 2013 Express for Desktops as my IDE. I set it in Unity preferences as my IDE instead of monodevelop.

  • However, when I upgraded to Unity 5, when I double click on any script, it always open new instance of Visual Studio, never Only the script in VS instance I already have opened.

  • Also, when I double click on any errors or messages in console it yet again opens other instance of Visual Studio and doesn`t even put me to error/message code line. Do you know where the problem could lie?

Thanks.

Comment
Add comment · Show 4
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 tigertrussell · Mar 14, 2015 at 07:54 PM 0
Share

O$$anonymous$$ I have hated this issue FOREVER and I think I figured out what to do. I'm literally trying it right now (was just in the process when I saw your question).

Should be ready with an answer shortly.

avatar image Wrymnn · Mar 14, 2015 at 08:32 PM 0
Share

heh thanks man :) This would helped greatly and would save a lot of time.

avatar image tigertrussell · Mar 14, 2015 at 08:34 PM 0
Share

I know, right? Just because we're independent doesn't mean we shouldn't have access to the Industry Standard :P

avatar image saud_ahmed020 · Mar 16, 2015 at 07:16 AM 0
Share

Go to "Visual Studio Tools" and script will automatically load.

4 Replies

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

Answer by tigertrussell · Mar 14, 2015 at 09:02 PM

Do not use Visual Studio 2013 Express, use Visual Studio 2013 Community.

This is a "full" version of Visual Studio that Microsoft gives out to individual developers, apparently. If you make a ton of money you might want to talk to a lawyer before using it; if you're a small-time developer you should be okay. (I am not a lawyer, this is not legal advice.)

Go into Edit > Preferences > External Tools and change it to Visual Studio 2013. If it's not an option, say "External Editor" and find devenv.exe.

Seems to work!

Edit: Tutorial

Comment
Add comment · Show 7 · 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 tigertrussell · Mar 14, 2015 at 09:13 PM 0
Share

Edit: this is incredible. I deserve a cookie.

avatar image Wrymnn · Mar 14, 2015 at 09:20 PM 1
Share

You deserve entire cake mate :D I must have missed this version, and I went straight for that Express (Windered why alt+F12) wasnt working :)

Thanks!

avatar image tigertrussell · Mar 15, 2015 at 10:07 PM 0
Share

Just wait - it gets even better. Unity Tools for VS 2013. You need to have VS 2013 Community installed before you install this. Once you do, open the AssetPackage it contains in Unity and use the new Visual Studio Tools menu to Generate Project Files. That will change your External Tools preference from Visual Studio 2013 to UnityVS.OpenFile and will enable step-debugging in Visual Studio! This is huge; I think I may make a tutorial video actually.

avatar image Wrymnn · Mar 16, 2015 at 06:55 AM 0
Share

I have never used debugging, and I don`t see the point, I either code it right, or entire system is then wrong and debugging won`t help.

I tried that UnityVS once and it was buggy, didn`t want to run, breakpoints weren`t working etc.

avatar image memiles · Mar 16, 2015 at 07:10 PM 0
Share

Great, incredible! Thank you.

Show more comments
avatar image
2

Answer by RafaelTDiaz · Apr 02, 2016 at 05:25 AM

Browse to the Unity.exe file located at "C:\Program Files\Unity\Editor" right click propieties=> compatibility => make sure the "Run this program as an administrator" check box is checked.

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 zakirshikhli · Apr 10, 2016 at 06:21 PM 0
Share

I guess this answer helped me. Now only one instance of VS receives all scripts as parts of one Solution.

avatar image
1

Answer by baheard · May 06, 2016 at 09:08 AM

I had this problem as well, I believe it was related to upgrading a project to a new version of unity. I resolved it by deleting the .csproj files and the .sln file for the project. Unity just recreated them immediately, and the files correctly opened in the same instance of VS.

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 DragonSAR2013 · Sep 11, 2015 at 01:00 PM

Visual Studio 2015 community edition is even better with nice debugging support with all the greatest developer productivity options:

Visual Studio 2015 with Robert Green:

https://channel9.msdn.com/Shows/The-DEVintersection-Countdown-Show/Visual-Studio-2015-with-Robert-Green#time=0h0m4s:play

https://channel9.msdn.com/events/Visual-Studio/Visual-Studio-2015-Final-Release-Event/Building-Unity-games-in-Visual-Studio

For Mac and Linux users: https://channel9.msdn.com/Blogs/2p-start/Visual-Studio-Code-and-Unity-Mac-compatible

I had a minor issue in the past after upgrading to Unity 5.2; so I made backup of the whole project and then deleted all Visual studio and mono develop project and solution files. Unity 5.2 re-created projects files and then everything worked fine afterwards.

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

26 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

Related Questions

Access a file after build in unity 0 Answers

Build menu missing Visual Studio 2013 1 Answer

Is it possible to have consistent development for Windows Universal and Android apps? 0 Answers

Unity breaks Visual Studio options 0 Answers

Use VS Code and MonoDevelop on the same project with multiple programmers 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