Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Crystalline · Dec 17, 2015 at 08:28 AM · c#inputmouselook

Mouse input lag..

Hi I have no idea why in Unity my mouse input is so fuzzy and laggy. I have tried everything, from uninstalling to changing mouselook scripts, to changing GPU settings , and all that. It is still fuzzy evem on a fresh project, and always lagging behind. In other games I play , the input is just fine, very precise with no lag at all.

It is not just me.. Here is a link of what other people say: https://steamcommunity.com/app/338170/discussions/0/617329150700861163/

Comment
Add comment · Show 7
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hexagonius · Dec 17, 2015 at 11:42 PM 0
Share

the link says s$$anonymous$$mcommunity. different platforms might have different reasons for that behaviour. is it already lagging in Unity editor? how are you using the mouse?

avatar image Crystalline hexagonius · Dec 23, 2015 at 08:38 PM 0
Share

It is laggy even in editor.

avatar image LukaKotar · Dec 18, 2015 at 12:32 AM 0
Share

Try the mouse look script from Unity's standard assets (script is located at: Standard Assets > Characters > FirstPersonController > Scripts > $$anonymous$$ouseLook.cs). If you still feel like the mouse "lags behind", you can open the script and try replacing every Input.GetAxis with Input.GetAxisRaw. GetAxisRaw essentially does the same thing, but doesn't apply any smoothing.

avatar image Crystalline LukaKotar · Dec 23, 2015 at 08:38 PM 0
Share

I have tried everything, even the raw method, still not success.

avatar image Zoelovezle · Dec 25, 2015 at 09:53 PM 0
Share

can be more specific by sharing you actual mouse script? and use?

avatar image Crystalline Zoelovezle · Dec 26, 2015 at 04:07 PM 0
Share

I use the default script..and I use it on a character controller and camera..just like in a fresh project.

avatar image Stardog · May 23, 2016 at 12:20 PM 0
Share

Can you try right-clicking your executable (of exported game, not the editor) > Properties > Compatability > Disable desktop composition and visual themes.

This has solved all mouse input issues for me. 60fps "feels" like 60fps now. Very sharp, even with vsync on.

Before this fix, I needed to get 120fps before it felt sharp.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by hexagonius · Dec 23, 2015 at 09:14 PM

ok, what is it you're trying to build and what do you have so far. there must be a reason for that, it's not just lagging

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Crystalline · Dec 24, 2015 at 08:49 PM 0
Share

As I said, there is mouse lag even in fresh projects. I am building an FPS, and I got a map done half. Not too stressful for the computer.

avatar image LukaKotar Crystalline · Dec 25, 2015 at 06:41 PM 0
Share

Are you referring to mouse lag as in "not smooth", or "delayed"? If it feels choppy, you can implement some simple mouse smoothing.

avatar image Crystalline LukaKotar · Dec 26, 2015 at 04:07 PM 0
Share

Is actually too smooth,a bit delayed,it is not crisp.

Show more comments
avatar image
0

Answer by tdvance · Dec 05, 2016 at 04:03 PM

Have you found a solution yet?

I had a mouse lag issue in a game, throwing off aiming, and I changed the project-settings -> time -> fixed-timestep from .02 to .01 and that seems to have fixed that.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

46 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

Distribute terrain in zones 3 Answers

C# Touch Script - Fix GameObject touch. 0 Answers

Using Oculus headgear position as input. 0 Answers

Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges