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 /
This question was closed Dec 24, 2014 at 07:28 PM by tanoshimi for the following reason:

Problem is not reproducible or outdated

avatar image
0
Question by Nsingh13 · Dec 24, 2014 at 08:12 AM · update

scripts skip themselves from time to time

This is a very simple question but I have noticed it many times in my games. When a script is set out to do something (like update a score), it does it most of the time. But sometimes it just randomly doesn't do it, then it does it the next time. What could be the cause of this problem?

Any ideas are greatly appreciated.

Comment
Add comment · Show 3
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 Divinyx · Dec 24, 2014 at 08:34 AM 1
Share

I feel like the question is too vague, your update score could be anywhere in your code. If you're updating the score manually, you might not be updating it at the right time; if it's per update, there might be a condition that prevents it from updating. Also, sometimes Unity doesn't compile properly and it is really rare, in that case, sometimes restarting unity resolves the problem.

avatar image NoseKills · Dec 24, 2014 at 11:15 AM 1
Share

Like the 2 gentlemen before me said the description of the problem is really vague. If this was really happening in Unity, I doubt anyone could make a working game with it.

If you can reproduce the problem with a simple script, please post the script in this question.

avatar image Nsingh13 · Dec 24, 2014 at 05:10 PM 0
Share

Thanks for the ideas! I posted a much more detailed version of my problem in another question of $$anonymous$$e. I still haven't got any answers yet though. Its titled score text skips updating or something like that.

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Start() not called upon instantation? 1 Answer

How to implement "PreUpdate" function 4 Answers

Help with the update function and rigidbodys 3 Answers

Not sure if this should go in Update or FixedUpdate function 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