Unity mouse lag. i reinstalled the unity 6 lts editor multiple times Feb 17, 2025 · Perform...
Unity mouse lag. i reinstalled the unity 6 lts editor multiple times Feb 17, 2025 · Performance Optimizations Reduce Input Lag: Use Unity’s Input. Sep 18, 2017 · Your computer is using a hardware cursor, which is extremely fast at rendering the cursor. It takes time for the game engine to talk to the GPU, as well as process whatever CPU computations are needed per frame. There iare also commands in Watchdogs that you can turn of mouse smoothing even further like UseMouseSmooth=0 Smoothness=0 EnableMouseDamping=0 But here in Unity I can't find such commands. However, before turning the windows cursor off, I noticed that my cursor lags behind it when I move the mouse. In Profiler window, Editor mode, observe performance Expected result: Performance does not slow down Actual result: Editor performance slows down significantly Reproducible with: Razer Viper Ultimate Not reproducible with: Steel Series Rival 600, Steel Jul 3, 2021 · How to fix Unity movement stutter when moving objects! This guide also explains how deltatime, lerping and rigidbodies should be used to improve jitter! Bad stuttering and lag on mouse movement On any Unity 2D project, whenever I move my mouse the project lags whether it's being played in the editor or being played after I build and run it. Also, this has never happened on a 3D project just 2D. Oct 24, 2024 · hello, i have installed unity 6 lts, and i have a problem with both urp and hdrp, when i navigate in the editor, when my pointer go on tools tab, like inspector, hierarchy, content tab, and top tools tab, i have a consistent drop of fps, and mouse pointer become very laggy, anyone know how i can resolve? p. mouseposition. More recent Unity versions have improved this, with my testers reporting 2 or 3 hours of idling before the issue manifested that severely. I also played with vsync on and off and same results. For some reason, however, when I updated to a new project on 6. 2. It’s not gamebreaking, but it’s annoying. s. Nov 11, 2014 · I tried different values in the Nvidia control panel and the input lag is still present. The solution is posted below! Back in Unity 2019. I’m having a weird behavior on the mouse & keyboard input in the editor. I’ve tried 3 different projects: my current project, a fresh project in the same editor version, and an older project in a different editor Sep 10, 2023 · I am making a game in unity and the rotation of my character moves to some random location whenever I have a lag spike. GetAxis for more immediate input processing. You can reduce input lag by disabling Vertical Sync via Nov 4, 2022 · I'm getting extremely slow, laggy, barely controllable mouse movement when my Unity build is running. I also checked the profiler and whenever I move my mouse the EditorLoop goes as high as 600-1000ms. Unity will be rendering the frame a few milliseconds slower than the cursor. DrawTexture(Rect(Input. So it's an issue that is a severe problem for my ability to use Unity in any real capacity for quick-optimizing my scenes. There is some input lag. The I did notice further that mouse lag isn't the only issue that's occurring. mousePosition), 64,64), cursorTexture); } I Jun 11, 2018 · In other, bigger games, I can feel my mouse movement quickly impacting my camera's rotation-- everything feels very responsive. Profile the Application: Use Unity Profiler to identify performance bottlenecks that might cause delays in rendering and input responsiveness. It’s not the project. In Game View, rapidly move mouse around, with its polling set to 1000 4. Disabling vsync to get to 100fps or more is where it starts to “feel” compareable to CS: Source. How can I reduce this lag and produce a more responsive mouse movement script?. var cursorTexture : Texture; function OnGUI() { GUI. During this issue, it also severely affects the editor's performance in playmode as well (FPS reads 150 less than normal, from ~220 down to ~80). when I load my project it works ok, not perfect, it Dec 7, 2011 · I’m using a simple script to replace the windows cursor with a custom one. Open new Unity Project 2. All games have input lag to some degree. May 23, 2016 · Mouse movement in Unity doesn’t seem sharp/responsive compared to other games, making it difficult to aim in a twitch arena shooter. , it’s smooth like normal. May 17, 2021 · Reproduction steps: 1. The mouse movement is better when over the Unity app window, but still slow. I have no clue what could be causing it and I could not find anything else on Dec 10, 2019 · *** Edit: If anyone has a similar problem, I found a workaround, setting the input system update mode to “Dynamic” instead of “Fixed update” fixed the problem and the mouse & keyboard are working good now with no lag. 4, after about an hour the FPS would start to dip below sub-20 before jumping back to normal when the mouse stopped moving. In CS: Source the mouse input at 60fps feels very sharp, but in Unity it feels sluggish/delayed/laggy, as if it’s 40-50fps at best. GetAxisRaw instead of Input. Oct 11, 2022 · I have 144 Hz monitor, when I move mouse around Unity Editor interface the it feels like the Unity drops refresh rate to 30 Hz (The mouse movment is very laggy, compared to other software's interfa May 6, 2025 · So basically I was experiencing some lag while using the scene editor, and my PC is no weakling, it’s worked fine with unity for a long time. x, (Screen. I think most people probaly wouldn’t even notice it, but I’ve got OCD for that kind of thing. 1, it felt like there was a drop in performence, but purely visually, and very subtle. Enter Play Mode 3. Mar 7, 2019 · I’m making a 2D game where you have to dodge objects with the finger, everything works fine, the only problem is that when I move the mouse more or less quickly in the editor the game lags for some reason, even dissabling the raycast I’m using to detect collisions or deactivating the entire game controller that handles the main script In the left part you can see how the game runs normally Nov 27, 2019 · TL;DR: My project has been suffering from severe lag when moving the mouse, both in-editor and in-player, for approximately 3 months and across multiple Unity installs. However, with this setup, I can't say I feel the same. When I run the same app on my older computers however, it runs perfectly. with a controller everything works fine. Dec 19, 2010 · Unity Engine IMGUI 2 2294 July 2, 2011 Mouse Input Lag Questions & Answers legacy-topics 3 6868 October 10, 2013 Disconnect between mouse movement and custom cursor Unity Engine Scripting , Performance , Question 7 1291 October 7, 2022 Custom mouse pointer icon Unity Engine 5 2489 July 11, 2011 Dec 11, 2021 · Basically, when I move the mouse cursor when the editor window is focused, I get really bad cursor lag, but only when the cursor isn’t performing an action - when I drag an object, editor camera, etc. height - Input. ezplbzlesgkzckbtyajxaakagdfkvtimosvmdazadzgscvbdalzj