Skip to content

Fixed mouse movement lag - #138

Open
morie197 wants to merge 2 commits into
Husky-Game-Studio:mainfrom
morie197:mouse-movement-lag
Open

Fixed mouse movement lag#138
morie197 wants to merge 2 commits into
Husky-Game-Studio:mainfrom
morie197:mouse-movement-lag

Conversation

@morie197

Copy link
Copy Markdown

it appears that the Cinemachine CinemachineInputProvider component, when passing the action from the map in, wasn't unsubscribing, causing massive lag after enough restarts when moving the mouse. Setting the input axis via code appears to remove any lag.

morie197 added 2 commits April 9, 2026 15:10
It doesn't lag anymore, I haven't a clue what is causing the lag but for now it does not lag :)
I guess cinemachine was causing the lag when moving the mouse? I switched to manually setting the input axis in code instead of  using a CinemachineInputProvider and the lag seemed to go away :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant