Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 impurekind · Apr 25, 2019 at 03:29 PM · visual studioscript loadingopening

Why are my scripts not opening anymore?

For some unknown reason my scripts have just stopped opening [in Visual Studio] when I click them in the Project list.

Any ideas how to get them to open again?

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 xxmariofer · Apr 25, 2019 at 03:33 PM 1
Share

can you check if edit->preferences->external toolls-> external editor visual is selected?

avatar image impurekind xxmariofer · Apr 25, 2019 at 04:00 PM 0
Share

It wasn't so I selected it and that didn't work. Then I saw the option to open by extension so I tried that and it worked. Why is it not loading the files in Visual Studio when Visual Studio is literally selected? Also, how did this change when it was working before and I never changed any settings to do with loading scripts that should have stopped it working? Note: It comes up with errors when I use the open by extension option but at least the scripts open:

 Exception thrown while invoking [OnOpenAssetAttribute] method 'Unity.CodeEditor.CodeEditor:OnOpenAsset (int,int,int)' : Win32Exception: The system cannot find the file specified.
 
 
 System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) (at <d465e2b2e5054d2787d6364114c43446>:0)
 System.Diagnostics.Process.Start () (at <d465e2b2e5054d2787d6364114c43446>:0)
 (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
 UnityEditor.DefaultExternalCodeEditor.OpenProject (System.String path, System.Int32 line, System.Int32 column) (at C:/buildslave/unity/build/Editor/$$anonymous$$ono/CodeEditor/DefaultExternalCodeEditor.cs:96)
 Unity.CodeEditor.CodeEditor.OnOpenAsset (System.Int32 instanceID, System.Int32 line, System.Int32 column) (at C:/buildslave/unity/build/Editor/$$anonymous$$ono/CodeEditor/CodeEditor.cs:55)
 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
 
 Win32Exception: The system cannot find the file specified.
 
 
 System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) (at <d465e2b2e5054d2787d6364114c43446>:0)
 System.Diagnostics.Process.Start () (at <d465e2b2e5054d2787d6364114c43446>:0)
 (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
 UnityEditor.DefaultExternalCodeEditor.OpenProject (System.String path, System.Int32 line, System.Int32 column) (at C:/buildslave/unity/build/Editor/$$anonymous$$ono/CodeEditor/DefaultExternalCodeEditor.cs:96)
 Unity.CodeEditor.CodeEditor.OpenFileAtLineColumn (System.String path, System.Int32 line, System.Int32 column) (at C:/buildslave/unity/build/Editor/$$anonymous$$ono/CodeEditor/CodeEditor.cs:31)
 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
avatar image xxmariofer impurekind · Apr 25, 2019 at 04:05 PM 0
Share

can you try opening the cs from outside unity? and the sln? maybe you updated visual studio or changed/edit a dll needed for windows

Show more comments
avatar image surfuay · Apr 25, 2019 at 04:46 PM 2
Share

sometimes unity doesn't launch properly, IE a common problem i get is my mouse will not be visible on the unity screen. I'll have to reboot my comp to get it back. Just buggy, sucks.

avatar image Bunny83 surfuay · Apr 26, 2019 at 01:15 AM 0
Share

I never ever had an issue like that in the past 8 years working with Unity. So if it's a "common problem" i may have an uncommon PC?

0 Replies

· Add your reply
  • Sort: 

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

112 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

Related Questions

HostListReceived symbol resolve 1 Answer

Visual Studio pops up when I create a new script, but it does not load it 0 Answers

My T4 template tt file customtool changes when editor updates assets 0 Answers

SerializeField isn't recognized by IDE 0 Answers

Visual Studio 2019 Community Installation for Unity failed 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