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 Navetelen · Mar 08, 2013 at 02:12 AM · errorreferencemissing

Error when i re-load my scene

Okay, so I made a main menu and an in-game menu for my game. My main menu works just fine, it starts the game correctly. However if i go to the main menu from the in-game menu than start the game AGAIN i get an error saying "The referenced script on this Behaviour is missing!"

If i start the level scene first it also works fine until i either press the restart button or go to main menu then start again. Not only I get this error but my controls are disabled. I can still look around but can't move. When i click the error it highlights the FirstPersonController which has a Unity-provided script on it for movement and i didn't change anything in that. I tried two different types of in-game menus this happens with both, however first time i used one of them it worked fine and could restart the level anytime i wanted. Now i just can't.

To be honest I'm not really convenient with programming, I just learn from youtube tutorials and I really try to understand things too. I actually had ideas what could be the problem but now I have no clue.

Please if you have any idea what should I do with this tell me.

I can provide the scripts which are not my own I got one from the unity forum and one from a youtube tutorial. And again, they used to work and the only thing i changed was the position of the buttons, but completely redoing the scripts didn't help either.

Thanks for any help in advance.

P.S.: I used the Application.Loadlevel("level name"); code to load my level.

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 Chronos-L · Mar 08, 2013 at 03:06 AM 0
Share

Please do provide script please. Just from your description alone, I can't help much.

For your info, it is quite unlikely that Application.LoadLevel("levelName") will create any problem.

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

11 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

Related Questions

Reference script on Behaviour is Missing, but IT'S NOT MISSING 0 Answers

Getting UnassignedReferenceException even though reference assigned 1 Answer

Really need help with: Ambiguous reference 'constructor': UnityEngine.GUIContent.constructor(UnityEngine) 1 Answer

The reference on this behavior is missing! Unity Bug 1 Answer

Simple Script getting Errors. 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