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 /
  • Help Room /
avatar image
3
Question by OfficialHermie · Oct 18, 2015 at 01:40 PM · cursor

Mouse Pointer disappears

When I run the Viking Village Unity project the mouse pointer disappears. Pressing Esc does not release the cursor, or it does, but it stays invisible. I did not notice this problem before Unity 5.2.1f1. Does anybody else have this problem?

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 PsychoDoc · Dec 09, 2015 at 06:59 AM 0
Share

I just updated Unity from 5.1 to 5.3 and I'm facing the same issue now. Have you found a solution yet? I guess there's a script that keeps setting the cursor to visible = false, because my cursor reappears when I run a test script that sets the visibility property of the cursor to true at each frame in the Update() method (which isn't meant to be my long-term solution to that problem, actually). However, I haven't found that script yet (maybe it's hidden in one of the standard assets?). Or is there any smart way to detect the responsible code line in the bunch of scripts in a simultaneous way?

avatar image FargleBargle PsychoDoc · Dec 12, 2015 at 10:21 PM 0
Share

Same problem here. I normally want the cursor to disappear in game builds, so my game manager script has a line that hides the cursor. I don't want this behavior when testing scenes in the editor though, and previously I didn't. I'm not even using the game manager at this point. I'm just moving a test player around the scene without it. Still the cursor disappears, and not just in the game view pane, but across the whole Unity window, including the Play/Pause controls at the top. The only way to stop the game now in the editor is to move the mouse down to the taskbar at the bottom, where it still thankfully shows up, and click somewhere to s$$anonymous$$l focus from the game, so that I can then click on the Play button at the top to stop it. Seems like a bit of a clunky way to do this. It all started when I upgraded from 5.1.2 to 5.3, so something was changed in the way the Unity Editor handles the cursor in Game View between these versions.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by ValidUsernameNoel · Aug 23, 2017 at 03:15 AM

if I open a project using the touchscreen, Then my mouse is not visible

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
avatar image
0

Answer by vfxtommy · Oct 20, 2015 at 10:02 AM

It depends on the "MouseLock" Script attached to the "MouseLock" GameObjekt.

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

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Rotate OBJECT to face mouse cursor for x/z based top down shooter 3 Answers

UnLock and Show Cursor 1 Answer

How do I relock my cursor? 0 Answers

How can i make a sprite face and move to my cursor? 1 Answer

Cursor not hiding in build until i click mouse or move player but works fine in editor 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