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 /
This question was closed Oct 06, 2016 at 03:24 PM by azurein for the following reason:

Problem is not reproducible or outdated

avatar image
0
Question by azurein · Oct 06, 2016 at 07:52 AM · physicserror messagerigidbody2d

No problem on playmode, but shown 3 confusing error when compiled. How to fix them?

Hello, I'm new to Unity for 2D game development, and this will be my first question. I have a script to restrict sprite movement out of screen, and its going well when I enter playmode. The confusing part is Unity show three same error, but show no error sign on MonoDevelop. Please help! Thank You.

Error shown: (have tried to double click on error to see details, but nothing happen!)

"All compiler errors have to be fixed before you can enter playmode! UnityEditor.SceneView:ShowCompileErrorNotification()"

My script: (tell me if you can't see image below) alt text

screen-shot-2016-10-06-at-104226-am.png (298.6 kB)
Comment
Add comment · Show 2
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 doublemax · Oct 06, 2016 at 08:00 AM 0
Share

What are the errors?

Also, It's better to post code ins$$anonymous$$d of a screenshot. In case someone would want to try out your code, he's not going to type it all in.

avatar image azurein doublemax · Oct 06, 2016 at 03:23 PM 1
Share

@doublemax, i have tried again and its no problem now. It seems Unity do not clear previous error message compiled (the error said "All compiler errors have to be fixed before you can enter playmode! UnityEditor.SceneView:ShowCompileErrorNotification()")

Anyway, thank you very much! Next time i'll paste related code.

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Need help on my script to calculate gravity for a mass 1 Answer

Member cannot be accessed with an instance reference; qualify it with a type name instead 1 Answer

Inconsistent gravity/random forces/solver problem? (forum crosspost) 0 Answers

(2D) character jumping problem [is grounded detection, rigidbody2d] 2 Answers

how polygon collider 2d calculates center of mass? 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