I am assisting to build a demo game that is meant to be played on a web browser both on a computer and android. It was originally meant for Android and I added a simple feature to allow keyboard presses. It will build locally on my computer and plays just fine as a standalone computer application. However, when I build it as a WebGL application it will open in a browser but the game's screen is too large and doesn't allow me to interact with the screen (which is a new issue).
I'm using Unity version 2020.3.45f1 to build this project.
If there's anything I'm forgetting to mention please let me know and I will add more screenshots.
![r/Unity3D - Trying to build a WebGL app from an Android game](https://preview.redd.it/pjqlzquhzjma1.png?width=1138&format=png&auto=webp&v=enabled&s=a9b0eb9721568bf03ee561ea1afd01c9cadf3a43)
These are my resolution settings
![r/Unity3D - Trying to build a WebGL app from an Android game](https://preview.redd.it/a6zq7gljzjma1.png?width=1150&format=png&auto=webp&v=enabled&s=f0d94ec02c84710bf26a3e83def7817dbc988887)
Player Rendering settings
![img](b9jezvzkzjma1 "This is what it looks like in browser after uploading .html file
")
![r/Unity3D - Trying to build a WebGL app from an Android game](https://preview.redd.it/oj99xwqnzjma1.png?width=1126&format=png&auto=webp&v=enabled&s=2c699c84515412416978e0cace3cafea35444d8a)
This is what it looks like when I get it to build locally in browser. The screen is going out of bounds. Ignore the pink scribbles.
![r/Unity3D - Trying to build a WebGL app from an Android game](https://preview.redd.it/ds8bbkdwzjma1.png?width=1458&format=png&auto=webp&v=enabled&s=fd97df72ee3a94ae75f316866292d7076373dd92)
This is what the screen should look like.
![r/Unity3D - Trying to build a WebGL app from an Android game](https://preview.redd.it/dzqni5u10kma1.png?width=2556&format=png&auto=webp&v=enabled&s=dfcce80a48cf31c58cf6fc2fd46fed0cd9f15bda)
This is the error I receive when I try to login to the game.