• 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 wsessums · Oct 11, 2017 at 07:58 PM · cursormultiple-monitorscursor-customization

Cursor on Multi-Display

I have a multi-display scene.

Each display has it's own camera (and screen space canvas).

When I use Cursor.SetCursor, it only works on the main display.

I tried executing the code from within both OnMouseEnter/OnMouseExit functions of MonoBehaviour,

and

OnPointerEnter/OnPointerExit by implementing the EventSystems interfaces.

In all cases the events fire as expected on all displays.

The SetCursor function only works on Display[0].

If I use the player settings to specify a default cursor, it displays on all displays. It does not respond to the SetCursor function.

I have also tried using the CursorMode.ForceSoftware. That does not have any effect.

This same behavior is true for Cursor.visible = false. The cursor is hidden on the main display only, and visible on all others.

Is there another step that needs to be run before setting the cursor?

  • Update -

Found Custom Texture2D cursor is not shown in full-screen on secondary monitor in the issue tracker. Which shows it as fixed in 5.3.6. I am still seeing this in 5.6.3p1 on Windows 10.

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

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

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

Related Questions

How do I change the hardware cursor? 5 Answers

Changed my cursor to something and cant change it to something else 1 Answer

How do I customize the image of the cursor? 4 Answers

Why does my cursor image have artifacts in WebGL? 2 Answers

Default Cursor hourglass during app load 2 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges