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 /
avatar image
0
Question by brotherhood79 · Aug 30, 2018 at 12:05 PM · scripting problemerrorscript.

Monobehaviour error with this associated file canot be loaded error. Any help is appreciated.,MonoDevelop and the associated scripts can

Hello Devs and Helpers. I recently started using Unity and i have been met with a no MonoBehavior scripts in the file, or their names do not match their file name. This first occurred when i was learning how to roll a ball with your lessons. This really turned me off, after 5 days of trying to ignore it, i just couldn't take it anymore because i think it leads to the script also saying "This associated script can not be opened". This doesn't load the script on to the object so anything i did was useless. I tried checking if the filename and script name were same, sadly that didn't work. I deleted all the asset's meta files, didn't work. Finally, i came to conclusion that i should try if the same occurs to a new project. The same error occurs, i try to change my script editor from Visual Studio to MonoDevelop which should have been built-in however i couldn't find it in edit>Preferences>External Programs. Please help, game developing is a booming career, i really want to improve my skills. How could i get rid of these errors.,Hello Devs and Helpers. I recently started using Unity and i have been met with a no Mono Behavior scripts in the file, or their names do not match their file name. This first occurred when i was learning how to roll a ball with your lessons. This really turned me off, after 5 days of trying to ignore it, i just couldn't take it anymore because i think it leads to the script also saying "This associated script can not be opened". This doesn't load the script on to the object so anything i did was useless. I tried checking if the filename and script name were same, sadly that didn't work. I deleted all the asset's meta files, didn't work. Finally, i came to conclusion that i should try if the same occurs to a new project. The same error occurs, i try to change my script editor from Visual Studio to MonoDevelop which should have been built-in however i couldn't find it in edit>Preferences>External Programs. Please help, game developing is a booming career, i really want to improve my skills. How could i get rid of these errors. Thanks in advance.

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Momcat · Aug 30, 2018 at 02:16 PM

I'm kind of new too but I've noticed that that error message comes up for a lot of different errors and they don't always have to do with the Monobehavior at all.

Could you give more details of exactly when that error pops up? For example, if you start a new project, and create, say, a cube (if it's a 3d game), then create a new script in the Project window, and then drag the new script onto your cube in the hierarchy, do you still get that error?

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 brotherhood79 · Aug 31, 2018 at 07:13 AM

@Momcat Today I checked, it has mysteriously disappeared. They asked me for an update, so now the Unity assistant installer is installing the update. Will inform you if this occurs after the update. @Juzper Already tried this and this wasn't the case. This problem disappeared today. Will inform you if this occurs again. Thanks you both of you. Problem might come back to haunt me and other users.

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 brotherhood79 · Sep 01, 2018 at 04:24 AM 0
Share

Issue resolved! I think I have found why the error occurred. Every time Unity asks me to update the editor it creates a new icon on my desktop. It turns out I had been using the older editor icon 's. Today, after yesterday's update was done I opened the latest editor and tada!!! It worked. All errors have disappeared. HUZAAA! Thanks guys. Hope this is the solution for others.

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

183 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

Related Questions

How can i make both two cameras to follow the player but only one with control on player ? 0 Answers

GameObject is already being activated or desactivated 2 Answers

Can't add script to anything error 1 Answer

How do I inherit certain varibles and functions from another script. 1 Answer

How to make [HideInInspector] show in Debug Mode? 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