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 richard longshaw · Jun 28, 2014 at 04:30 PM · errorbeginnermonodevelop

Error trying to open script with Monodevelop

I have been doing the beginners shooter tutorial.

I tried to open PlayerController script in Monodevelope via the Inspector open.... button.

I get this error message :

unable to open assets/scripts/playerController.cs: check external application preferences

Monodevelop (built in) is application set in the preferences

Please how can I fix this?

Many Thanks

Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Dee Va · Jun 28, 2014 at 05:16 PM

Perhaps, you didn't installed monodevelop at the setup stage or you might moved it to the another location!

try reinstalling monodevelop again (don't, if you have it in any other location) and then in unity click on edit -> Preferences -> external tools -> external tool editor

there you need to browse the monodevelop.exe file and then the error gets fixed.

Dee

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 SepM · Jun 28, 2014 at 05:36 PM

Yeah... that's weird. The file might be corrupted from the sounds of it, but this is a complete guess. Go to the Project panel and search for the script and single-click on it. If a code shows up in the Inspector, the file itself should be fine. If that's the case, all I have else to say is rebooting (close and open) Unity and MonoDevelop and see if that improves anything. Sorry if this wasn't much help to you.

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 richard longshaw · Jun 28, 2014 at 06:29 PM

Thanks for your prompt replies. This problem has stopped me completely in my tracks - was doing ok until this happened. The script shows up fine in the Inspector - its when I try to open it from there the error occurs. I`ve tried setting the preferences / External Tools to Monodevelop. I have searched for the .exe file within the Unity folder although its not obvious which file to use. I have tried opening .exe directly (outside of Unity) which i think may have been the correct file. The best I get is a Dos/console window flash up briefly then dissappear.

Any more ideas

Thanks

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 SepM · Jun 28, 2014 at 11:30 PM 0
Share

Well, it seems the file itself if okay. Can you open any other scripts? If that's the case, try making a new one then copy and paste from the original PlayerController. Find the PlayerController script on your computer and try opening it up with a text editor, since you can't do so on $$anonymous$$onoDevelop. Copy everything from that and paste it into your new script. After that, try assigning it to your game object in the place of the original. (Nothing fancy, I know. -_-') The only thing I don't like about doing things this way is that you'll have to either go into every single script and change their codes, or rename the new file to match the original, so that inter-code relationships and all that complicated stuff aren't messed up. I'm really crossing my fingers here! Hope this works!

avatar image richard longshaw · Jun 29, 2014 at 11:41 AM 0
Share

have solved the problem. Updated Windows .net framework to newest version. Uninstalled Unity then reinstalled it. Now works - Not sure why but happy! Thanks

avatar image SepM · Jun 29, 2014 at 05:15 PM 0
Share

Oh! Good to know things worked out!

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

MonoDevelop TODO task won't clear. 2 Answers

Really need help for my code! 2 Answers

C# Player Rotation transform error 2 Answers

X is a variable but a type was expected 1 Answer

Roll A Ball- "All compiler errors have to be fixed before you can enter playmode!" 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