unprogrammed enter key breaks game

Hello,

For some reason when I press either the enter or the space keys, which I have not programmed to do anything in the entire game, they activate the code in random buttons in the game. This effectively breaks my game in all manner of horrible ways.

This only ever happens when the enter or space keys are pressed. I am also positive that I have not programmed these keys to do anything, the game is not very big.

Anyone have any clue why these keys might be doing crazy things? Is there like a default function for these keys that I need to disable? Any help is appreciated. Thank you!

Are you trying to access any Inputs in your scipts? If so maybe your getting input from the default Unity Input settings.

Check the input settings. You want to remove enter and space from submit. By default Unity’s UI is keyboard friendly, which isn’t really intuitive.

I found and fixed the issue with your guys’ help. Thank you!

Just in case anyone else is wondering how to find the issue: