Build #124 - Mouse isn't locked in game window when playing [RESOLVED]

Locked
User avatar
BlueBolt
Posts: 17
Joined: Tue May 01, 2018 11:13 pm

Build #124 - Mouse isn't locked in game window when playing [RESOLVED]

Post by BlueBolt »

So first thing I noticed in the first minute of this new build is when I tab out of the game or unfocus the window and then go back in, the mouse doesn't lock into the window anymore. It only locks in when I first launch the game.

Switching to fullscreen doesn't lock the mouse either if you have multiple monitors, but closing and relaunching the game does fix the issue, until you tab out to check your Discord or something. :P

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: Build #124 - Mouse isn't locked in game window when playing

Post by Interkarma »

Thanks for the report! Which OS are you on?

User avatar
BlueBolt
Posts: 17
Joined: Tue May 01, 2018 11:13 pm

Re: Build #124 - Mouse isn't locked in game window when playing

Post by BlueBolt »

Interkarma wrote: Mon Jul 02, 2018 7:38 am Thanks for the report! Which OS are you on?
Windows 7 Home Premium Service Pack 1 64-bit.

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: Build #124 - Mouse isn't locked in game window when playing

Post by Interkarma »

Cheers! I'll look into it when I can. :)

BansheeXYZ
Posts: 555
Joined: Fri Oct 23, 2015 8:19 pm

Re: Build #124 - Mouse isn't locked in game window when playing

Post by BansheeXYZ »

This happens for me too, Im on the latest Windows 10. Obviously, it's only a problem in Windowed mode since the mouse can leave the draw window.

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: Build #124 - Mouse isn't locked in game window when playing

Post by Interkarma »

This is a confirmed regression bug in Unity 2018.1. Here's a link to their issue tracker.

https://issuetracker.unity3d.com/issues ... t-plus-tab

Edit: Have trialled workaround suggested in link above and it is suitable until this issue is patched in Unity. Fix will be in next round of builds.

Locked