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 Gameart1235 · Jan 25, 2015 at 08:47 PM · uierrorbug

UI Error Plz Help

I been using the new UI for my game. with the canvas and the event system. but I'm not sure what going on, it starter showing this ERROR when I Play the scene, the weird part is sometime it show it and show time it don't PLZ HELP (not sure how to fix it)

NullReferenceException: Object reference not set to an instance of an object UnityEngine.EventSystems.BaseInputModule.HandlePointerExitAndEnter (UnityEngine.EventSystems.PointerEventData currentPointerData, UnityEngine.GameObject newEnterTarget) (at C:/BuildAgent/work/d63dfc6385190b60/Extensions/guisystem/guisystem/EventSystem/InputModules/BaseInputModule.cs:103) UnityEngine.EventSystems.StandaloneInputModule.ResetSelection () (at C:/BuildAgent/work/d63dfc6385190b60/Extensions/guisystem/guisystem/EventSystem/InputModules/StandaloneInputModule.cs:255) UnityEngine.EventSystems.StandaloneInputModule.SendMoveEventToSelectedObject () (at C:/BuildAgent/work/d63dfc6385190b60/Extensions/guisystem/guisystem/EventSystem/InputModules/StandaloneInputModule.cs:236) UnityEngine.EventSystems.StandaloneInputModule.Process () (at C:/BuildAgent/work/d63dfc6385190b60/Extensions/guisystem/guisystem/EventSystem/InputModules/StandaloneInputModule.cs:156) UnityEngine.EventSystems.EventSystem.Update () (at

Comment
Add comment · Show 4
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 Mmmpies · Jan 25, 2015 at 09:37 PM 0
Share

Something has to be changing between when you get the error and when you don't, computers aren't sentient (well not yet!) so they only follow instructions they don't "decide" to do something first. Caveats below :¬)

Look at all your event handlers and any changes you make to them.

However, that said, are you setting events at runtime in script rather than in the inspector? If so it's just possible the process order is getting screwed up. Think about when your computer starts up, does it always start system apps at the same time, no it doesn't.

For any of the Unity elites with "Ultra"k karma, hands up I'm not that good at Unity or C# and positively useless at JS/Boo so happy to be enlightened if it helps me or to OP.

avatar image Gameart1235 · Jan 25, 2015 at 10:57 PM 0
Share

I'm looking. just can't find anything.

UPDATE I know it do it sometime when Application.LoadLevel("Level 1");

avatar image Glurth · Jan 25, 2015 at 11:10 PM 0
Share

NullReferenceException: Object reference not set to an instance of an object UnityEngine.EventSystems.BaseInput$$anonymous$$odule.HandlePointerExitAndEnter

Total shot in the dark, but this error message makes me think you created an object, and dragged it onto some other object's component's EventAction, and have since deleted the object. I would go through your UI objects' OnChange, OnClick, etc.. components to make sure they are all valid. I suspect it only happens when the event is triggered which is why you dont get it every time.

avatar image Gameart1235 · Jan 25, 2015 at 11:12 PM 0
Share

I'm going to check on that.

UPDATE Right when the level load if you move the player it show the error.

1 Reply

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

Answer by Gameart1235 · Jan 25, 2015 at 11:15 PM

UPDATE

It not when I move the player but when I hit the W,A,S, or D key.

Going to check INPUT.

(FIX) I found out what it was, so I have made 4 new Input W,A,S,D when and on horizontal and vertical as is W,A,S,D so what I did was Remove the W,A,S,D from the horizontal and vertical. and that did the trick.

Comment
Add comment · 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

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

21 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

Related Questions

Bug or problem: UI Elements duplicated and follow in front of player when run, working with Oculus VR 0 Answers

Canvas Problem 1 Answer

Unity White Screen Problem 2 Answers

In order to call GetTransformInfoExecectUpToDate 1 Answer

I'm experiencing constant crashes when the multiple game windows are open. 0 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