I was completing the FPS microgame tutorial and I reached the step Build and Publish. When I pressed the Build and Publish button, the game began building, but then faded out and the editor reloaded. Nothing was created, Unity just stopped building and did all the things it does at startup. Need help.
I’m having the exact same issue. Have you figured out a solution yet? I previously got some errors in the console, but now, it just builds for a few seconds and goes back to the opening sequence of events like you mentioned. I am able to publish an older version of the project, so I am incrementally adding things to the project as it is now to see where the issue is.
I had this line of code in one of my scripts: using static UnityEditor.PlayerSettings;
This was what was causing my project not to build. There weren’t any error messages when I tried to build either.