- Home /
Issues with mouse input after resizing Standalone
I'm having an issue under Unity 4.6 where, after resizing a Standalone window, I can't do any mouse input in the "new" display area. If the Standalone gets closed in the larger state and reopened, the "new" area is interactable, but is there any workaround that doesn't involve closing the window?
Yes, I am, however the problem extends beyond just the Unity 4.6 UI. I can't interact with anything in the "new" area, whether it's a part of the UI or a part of the game world.
Answer by The Stick · Jun 26, 2015 at 01:01 PM
I completely forgot I had asked this question a long while ago. Whoops.
So, turns out I needed to re-set the Resolution of the Standalone build. Once every Update
seemed to work out well enough for a quick-and-dirty fix. Simply stating SetResolution(Screen.width, Screen.height)
at the top of an Update
I was using anyway fixed the problem for me.
Apparently simply resizing the window doesn't force Unity to change the background Resolution of the game, the one that all the mouse input is based on, despite changing the display resolution.
Your answer
![](https://koobas.hobune.stream/wayback/20220613184127im_/https://answers.unity.com/themes/thub/images/avi.jpg)