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.