Hello all,
I’m developing a top down shooter using the unreal template. I’ve gotten rid of the template’s “Click to move” controls and replaced it with standard WASD movement and added a laser that follows the cursor. When I load directly into the level my mouse buttons register and call the print string just fine. If I load the game into the main menu and then load the level, however, the mouse buttons are completely broken and will only work once every three or four times and almost never if the character’s moving while I click.
I’ve made sure the game mode/game instance/pawn class are all correct, tried adjusting the input properties for ‘use mouse to touch’, tried with and without an action mapping, messed with the player controller mouse settings, put the call in the player character/player controller/level blueprint, but nothing works. Any help would be greatly appreciated. Thanks in advance.