(I posted this over on the forums too, but seems like here might be a better place.)
The user-friendliness of any UI relies on good response times to user input. I’m currently experiencing crazy lag with even the most basic setups in UMG.
To test this out in a very simple abstract form, I’ve created two things in UMG: a button and an image (currently just a white box):
I want this box to be invisible, and appear only when the mouse is hovering on the button, disappearing when the mouse is no longer hovering over the button. Here is the basic BP setup:
Here is the Level Blueprint, simply adding the widget and enabling all necessary mouse actions:
In both PIE and packaged builds there is a lag of around half a second between mousing over the button and the box appearing/disappearing. Half a second may not sound like much, but it’s very noticeable. It makes the UI feel clunky.
It seems to me that I’m asking for something very basic here – on a website, it’s very simple to code a button that responds instantly to mouse over events – and yet it’s laggy as hell.
Anyone else have this problem?
I don’t have the fastest computer in the world, but it is a Macbook Pro (late 2011) with 16GB ram and a 2.5Ghz i7, so I don’t see how something so simple could be lagging because of my machine.
Any help getting such interactions to be quick/instantaneous would be much appreciated!