UE4 Mouse Sensitivity

Hello,

What the problem seems to be is when I have a blueprint window open and run my game the mouse sensitivity seems to go way up (at least 2x), when I close the blueprint, run the same game, with the same mouse sensitivity settings in the blueprint, the mouse sensitivity goes way down. I noticed this happening when I was tweaking camera sensitivity for my game. I also noticed that the FInterp To speed seems to decrease too, and increase if I have the player pawn blueprint open and run the game at the same time.

I am using UE4.6.1.

Thanks

Hey luklew10,

Thank you for your report. Could you provide me with some reproducible steps so I can get this result you are seeing on my end?

You mentioned having a Blueprint open and running the game, but this could be specific to the nodes your are using.

Thank you,

Ok , here are steps I do to reproduce this :

http://i.imgur.com/DZAO0jc.jpg

This is the blueprint I have set up, I set the value to 50 then test with the blueprint open on my 2nd monitor.

Then when I close the character blueprint without modifying or recompiling anything, and test again the mouse sensitivity is at least 2X less than when the blueprint was open.

When I open the character blueprint again and test the sensitivity is back to normal again.

It only seems to happen when I open/close the character blueprint, if I have any other blueprint open the problem doesn’t occur.

All I am doing is opening/closing the character blueprint and testing the mouse sensitivity, I don’t modify or recompile anything.

Not sure if it is a bug or I’m doing something wrong, can’t quiet work out what it is.

Thanks

link to image: http://i.imgur.com/DZAO0jc.jpg

Hey luklew10,

Okay, thank you for the information and steps. If you could also let me know what type of blueprint project this is I can move forward with testing. I.e. Third Person BP or First Person BP?

Thank you,

Hi!

This is First Person BP.

Thanks

Hey luklew10,

I tested your issue and was able to see what you were reporting. The reason your sensitivity returns to normal is because you are not recompiling your blueprint and saving before close. Blueprints will auto-compile if you have made changes after pressing Play.

Essentially what is happening is you are using the ‘Get World Delta Seconds’ node and multiplying this by the variable ‘Sensitivity.’ If you leave this value unchanged and close the Blueprint, you are still using the delta seconds when playing, but you are not giving it a value to read for sensitivity.

To check and see what I am talking about, try deleting the multiplication pin from the float * float node and keep the get world delta seconds connected. Now compile and press play. You will notice the sensitivity is now very low.

Hopefully this brought some clarity to your issue, but if you are still having problems or need additional assistance please let us know!

Cheers,

How to do it with C++