I’m doing an update to an old project un Unity 3.5.7. The mouse scrollwheel is used, and doing my post-build testing it turned out that the scrollwheel wasn’t doing anything in the produced application.
I opened the project up in the Editor again and the scrollwheel definitely works there. I tried changing the sensitivity in the input settings for the axis, which changed its behaviour in the Editor but did nothing in the build.
This is on Windows 7 64bit, with a Logitech G5 mouse on my dev machine.
I did a search and have found many people trying to deal with similar issues, but most of them seem to be on Mac.
Any pointers?
I just did a build for my Mac, and it also doesn’t recognise scrolling on the trackpad.
Edit: Haha, now I feel stupid. Since this was originally a tablet application, all of the non-tablet inputs were only being checked in the Editor. Fixed…
I’m sorry, how did you fix it??
All of the keyboard/mouse input was originally wrapped in a define that only worked in the Editor. It made complete sense when I first put it in there since it was a tablet app and I didn’t want it running a bunch of irrelevant code all the time, and I initially forgot to remove that check for the desktop version I came back and made later.
Thanks
That’s not my case, unfortunately.