Virtual joystick stops working

Hi folks!

Hopefully someone has come across this. I am building a shooter and I am seeing a very strange issue.

I am using Streamed levels as a way to ensure cleanup of everything created in that level. Levels are procedurally generated.

I have an event to generate the level which I call after the streamed level is loaded.

After the player finishes level 1 the streamed level gets unloaded (to cleanup all resources) and loaded again, everything seems to work fine, when level 2 starts the virtual joysticks on the screen stop responding, I can see them resetting to the original position and dim out after I release the mouse button but I can’t touche them again. The strange thing to me is that all inputs work, I can keep playing normally with my keyboard.

I’ve tried calling the ‘Activate touch interface’ setting this to none and then back to the default virtual joysticks to see if that would ‘reset’ the controllers but it didn’t work.

It doesn’t seem to be associated to the character being destroyed when the level ends as I do the same thing as when the character gets killed and re-spawned and keyboard inputs keep working but not the virtual joysticks.

I thought it might have been related to unloading and loading stream levels but I tested only loading it once and still got the same issue after setting up a new level.

1 Like

Have the same problem but without streamed levels. So I think it has nothing to do with those. The custom widget, controlled by character controller - respawns without problems, but the default one is greyed out upon respawn - exactly like you described. If I find the solution - I will write back.

I was pretty sure I had the same problem, sadly there were no helpful information anywhere. What was problematic in my case was a widget - I had pushable objects with a widget indicating where should we rotate to and everything worked perfectly well with gamepad / keyboard, but touch joystick (those native from ue4) stopped working after widget hide+show. I had to remove, set to null and recreate widget and then touch input started to work well