Mouse doesn't work in a packaged project

everything works fine in the editor or even standalone mode but when it’s packaged only the keyboard works. why?