I’m having this really weird issue with my build. This is the standalone build. I haven’t tried a WebGL build yet due to this issue.
While testing inside of Unity, the camera shows exactly what is expected, meaning the aspect is restricted to a 9:16 ratio, however, when I build the game and run it, the window is a bit wider than that, and it causes the boundaries to be set beyond the background.
The enemies still spawn in the exact location outside of the background as set down by the enemy spawner and due to the expanded width, they appear on screen before they’re supposed to. The background does not extend beyond where it is set in Unity, but the player can move outside the background and only stops once they are at the edge of the screen and are in the negative space outside the rendered background image.
I’ve followed along with the build instructions, and have tried a few other things I’ve found on google, but can’t seem to figure out this issue.