By any chance do you remember what the error said? I think it has something to do with the default SDK i used to package the game since it already happened to me once.
sadly i dont remember :/ but my windows firewall defender got active so it may have to do sth with it