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
0
Question by Xendraw · May 03, 2014 at 11:59 AM · script.script errorscript loading

None of my scripts are loading

I have the 'associated script can not be loaded, check compiler errors' for all my scripts, although it was working fine yesterday, as far as I am aware I haven't touched anything, so my question is: What?

Should add that there are no actual compiler errors.

UPDATE - My other project on my mem stick works, the scripts in there are fine, just the ones on my comp suck

Comment
Add comment · Show 1
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 Xendraw · May 03, 2014 at 03:08 PM 0
Share

Okay, I got it working now, not sure what fixed it, after re-importing some things it works, thanks for all the help!!

3 Replies

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

Answer by _dns_ · May 03, 2014 at 02:30 PM

Hi, maybe it's a cache/generated files problems.

Make a backup of your project directory first!

Close Unity, then try deleting the Library/ScriptAssemblies directory, or the whole /Library directory to force Unity to re-import & rebuild when launching it.

Edit: maybe you lost the .meta files of the /asset directory during a copy or delete. They may be "hidden" files. Unity needs those files.

Comment
Add comment · Show 2 · 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 Xendraw · May 03, 2014 at 03:01 PM 0
Share

Okay, I done that, it imported some stuff, but now it says a lot of it is missing, quite a few of my models, scripts and textures have a thing saying missing, the first-person controller can't be found either

avatar image Czar-Man · May 05, 2016 at 05:15 PM 0
Share

I've tried this as well. I still see all of my scripts with the same "associated script can not be loaded."

avatar image
0

Answer by Matt-Face · May 03, 2014 at 12:19 PM

hmm, have you tried rebooting?

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 Xendraw · May 03, 2014 at 12:24 PM 0
Share

several times I am afraid :/

avatar image
0

Answer by bloodyatheist · May 03, 2014 at 01:37 PM

when you start you project at the editor what is happening?

1) unity stucks: then you probably created an infinite loop

2) none of the script are called: make sure they are not called by adding to the start method:

         Debug.Log ("i was actually called");


i) if its really not called then your objects and scripts are not linked..

ii) if its called the your logic in the code is flawed and you should recheck it

i hope i helped :)

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 Xendraw · May 03, 2014 at 01:42 PM 0
Share

Thanks for the reply,

$$anonymous$$y code works fine, since it was working literally yesterday, and for the past 6 months, even the build worked fine, nothing seems out of the ordinary on start-up, it just has the yellow box under each script

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

24 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

Related Questions

Can't use any scripts at all (Just installed engine). 0 Answers

My FOV for enemy script is not working 2 Answers

what is a script component?? 0 Answers

How do I make do I make a variable go back to its original value for a spell system 1 Answer

Some public methods can not be called 2 Answers


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