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 chuckster · Jan 07, 2013 at 03:05 PM · charactercontroller

character controller quit working, script errors

Im just using the standard fps camera cylinder. everything has alwayse worked fine with it. this morning when i started up and try to build a game it wont do it. all three scripts have yellow exclamations .it says script cant be loaded pleas fix any compile errors and assin a valid script. i tried to reimport the thing but its the same. for the heck of it i went into the mouse script to see what kind of errors it was talkin about and it wanted me to add a | to this one part, boolien somethin lol, so no prob i did that and ran debug again and first line it says "warning will robinson namespace collections is never used BCW0016. how the heck did i screw up my cam?! i didnt mess with any thing...that i know of. it worked yesterday. i have v4. now id like to mention i did install a bunch of the free assets yesterday, i dont know if its related but i may or may not have hit something on that new antares drag up window..i mean i dont know any thing about it yet...did i unparent the cam from the cylender or something? to me that seems far fetched. if some one out there has any ideas to get me back to work befor i rip out my hair id owe ya big time! i dont usually like to post but i couldnt figure out how to ask the right question to get the answer i needed. thank you ....man , if i totally reimport the camera controller asset why oh why wont it work as it did befor ?! raa!! haha :P thanks again. i typed this once but it didnt post, forgive me if it does it twice now.


update

evedently i screwed something more up then that , none of the scripts work. rookie mistake im sure, im just gunna export my terains and start a new project! thanks any ways, sorry for wastin your time.

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 AlucardJay · Jan 07, 2013 at 04:45 PM 0
Share

Danger Danger, Dr Smith is sabotaging the project! Chances are that you re-imported assets you already had, and when you re-import, the ones you had are overwritten. $$anonymous$$ake sure when the Import window comes up, you only check(tick) and import assets that are labelled as New in green on the right hand side.

Regarding the 3rd person controller script, that warning always comes up (why they didn't fix it is a mystery). Just double-click on the warning, and the script should open to the line with the typo (line 193). simply add a | right between the Inputs (|| means or) like this :

 // Pick speed modifier
 if (Input.Get$$anonymous$$ey ($$anonymous$$eyCode.LeftShift) || Input.Get$$anonymous$$ey ($$anonymous$$eyCode.RightShift))

the other thing is check your objects Inspector, if you see this where the script should be :

 $$anonymous$$onoBehaviour
 Script        $$anonymous$$issing ($$anonymous$$ono Script)

then the script has been edited, moved or renamed outside of Unity (and Unity doesn't like that).

In summary, be very careful when importing assets, it is much better to import them into an empty new project, then check the assets there before importing in to your actual project (it doesn't need to download again, the package now lives somewhere in the Unity folders, so importing is very quick after the first time downloading). Then check you are not importing and overwriting assets you already have.

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

10 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

Related Questions

Object reference not set to instance of an object 2 Answers

Very Simple Left and Right Movement Script [OR] disable dravity on CharacterController? 2 Answers

Ball Character controlled by a single Joystick? 0 Answers

Character Controller Script 3 Answers

Character Controller Jittering Problem 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