Game works in editor but not in build

Hello people, my game works perfectly in the unity editor with no errors. But when I build it and run it, the game does nothing, when I click the button.
There is not even a output.txt in my build folder.
Any idea how to fix this issue?
Thank you guys.

The log files are no longer located inside the build folder

Check if you got any errors there.
The editor is often more forgiving then then build player applications.