x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

show mouse cursor disables mouse events

Hi,

when setting "show mouse cursor" to true in a playercontroller, any MouseX/MouseY events suddenly return 0.0 after the first mouse-button press.

How to reproduce: Create a new project Create a new PlayerController BP, just enable "show mouse cursor" in the class defaults Project Preferences -> Maps and Modes -> create a new gamemode and set the new PlayerController that was created Project Preferences -> Input -> add an axis event for MouseX and call it i.e. rawMouseX Go to the level blueprint, add the "rawMouseX" axis event and do a print string on the value

When you now start the game in editor, everything looks correct and you get the different values for the x axis. but as soon as you press the left/right/middle mouse button, it is zeroed out and you dont get any value other than 0 now.

Cheers, Indy

Product Version: UE 4.11 Preview
Tags:
more ▼

asked Mar 25 '16 at 09:19 PM in Bug Reports

avatar image

indygoof
830 26 15 41

avatar image Ryukra Mar 31 '16 at 04:47 AM

Can't you just build a custom cursor? I think this would be a fast workaround.

avatar image indygoof Mar 31 '16 at 05:47 AM

Theoretically, yes. But this would be adding additional overhead, i would have to update this in all my marketplace assets, people that buy it will ask why i had my own cursor logic in there and why i dont rely on the default cursor, and so on. So thats not really a practical solution for me.

avatar image zaha Apr 02 '16 at 09:06 AM

Have the same issue, since I switched to 4.11 with my game I cannot turn the player with the mouse (I use in DeprojectMousePositionToWorld C++). Also, for some strange reason, movement is not applied via WASD to my player character, although the C++ functions are called with the right values. AddMovementInput does not seem to work. But I guess that's not related to this one?

avatar image Rudy Q ♦♦ STAFF Apr 04 '16 at 01:34 PM

Hello zaha,

Thank you for the additional information on this issue, I will be sure to bump up the community interest on the report.

Make it a great day

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

5 answers: sort voted first

Hello indygoof,

I was able to reproduce this issue on our end. I have written up a report (UE-28811) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day

more ▼

answered Mar 28 '16 at 02:55 PM

avatar image

Rudy Q ♦♦ STAFF
47.5k 545 132 522

avatar image indygoof Mar 28 '16 at 05:47 PM

Hey Rudy,

thanks! Additionally, please consider the pull request 2206 (for the 4.11 branch) and 2207 (for the master branch) as a fix for the issue.

Cheers, Indy

avatar image Arthur Khusnutdinov Mar 30 '16 at 07:52 AM

Hi.

Is it bug reproducible in Main branch of git repo?

avatar image indygoof Mar 30 '16 at 08:18 AM

Hi, yes, the same code changes were done in the master branch; This is what the pull request 2207 is for.

Cheers, Indy

avatar image Arthur Khusnutdinov Mar 30 '16 at 04:43 PM

Ah, really, thank you!

avatar image edecr Jun 09 '16 at 06:56 PM

Version 4.12 this problem continues.

avatar image Rudy Q ♦♦ STAFF Jun 09 '16 at 07:13 PM

This issue is again under investigation. I will be sure to bump up the community interest for this issue.

Make it a great day

avatar image edecr Jun 09 '16 at 07:25 PM

Thanks for fast reply Rudy.

avatar image Firat Jun 15 '16 at 08:19 PM

I wouldn't get my hopes up by relying on that reply. The issue has been "under investigation" for 3 months now, and it has been around even more than that. So I suggest you find another solution.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Any updates regarding this issue?

more ▼

answered Sep 18 '17 at 01:39 PM

avatar image

alvarofer0020
90 15 17 23

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Still not working for me, 4.18.3

more ▼

answered Mar 10 '18 at 09:59 AM

avatar image

xSheim
125 5 11 18

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Thank you for the report.

A fix should be included in 4.11.1 CL 2934992 and 2935089

more ▼

answered Apr 06 '16 at 05:53 PM

avatar image

LittleGiant STAFF
31 1 2 2

avatar image GameMaster79 Apr 07 '16 at 04:56 PM

This is NOT fixed in 4.11.1 at least that's how it seems to me. Or am I wrong?

avatar image LittleGiant STAFF Apr 07 '16 at 06:07 PM

Correct it's in 4.11.2, unfortunately it just missed 4.11.1

avatar image (ALSC) Cabana Apr 08 '16 at 11:22 AM

this is a huge issue to projects that rely on that fix to be released. Any ETA on the hotfix release?

avatar image ash22 May 19 '16 at 06:29 PM

I really hope this bug gets fixed in the next release.

The main reason I use [x][Show Mouse Cursor] is because it enables you to seamlessly & efficiently work between the viewport and other windows without having to press SHIFT+F1 to show the mouse cursor whenever you need to navigate to another window.

Since 4.11 I have to constantly keep pressing SHIFT+F1 which is a real productivity killer, especially when you're trying to debug blueprints/materials or any setting that requires moving the mouse out of the viewport.

I trust the dev team is still on it, and really hope it gets fixed as soon as possible.

avatar image ash22 May 23 '16 at 02:23 PM

4.11.2 Hotfix Released

Fixed!
UE-28811 Get mouse X/ Get mouse Y returns zero after the user clicks the screen and mouse is shown
Fixed!
UE-29148 Using "Show Mouse Cursor" breaks mouse axis movement

Yaaay! Downloading now..

avatar image Firat May 31 '16 at 07:50 PM

Hey there. Were you able to figure out a solution for this issue?

avatar image PhoeniX-Storms Jul 28 '16 at 09:26 PM

4.12.5 The problem still exists... Also I got 2 pawns that are exactly the same because I've duplicated them and one has the bug the other does not...WTF?

avatar image Rudy Q ♦♦ STAFF Jul 29 '16 at 03:01 PM

Hello PhoeniX-Storms,

It appears there have been a few updates to this issue. I have provided a link below to the public tracker. Please feel free to visit the provided link for future updates.

Link: https://issues.unrealengine.com/issue/UE-28811

Make it a great day

avatar image Flash7 Aug 24 '17 at 02:54 AM

BTW, 4.17.1 - issue has not been fixed yet.

avatar image Rudy Q ♦♦ STAFF Aug 31 '17 at 03:41 PM

Hello Flash7,

I have reopened this issue due to renewed interest.

Make it a great day

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Any update on this? It's causing major blockage in our game.

more ▼

answered Sep 29 '17 at 07:39 AM

avatar image

Juxtapox
6 1 3 5

avatar image Flash7 Sep 29 '17 at 01:59 PM

Guys, vote for this issue to be fixed: https://issues.unrealengine.com/issue/UE-28811

avatar image Juxtapox Sep 29 '17 at 02:00 PM

Yep, I have.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question