Webgl game wont show good resolution when viewed on mobile devices & keyboard issue

And for some reason my input field wont make the keyboard appear!

So hello! i am making a small game , endless runner style with a mysqli database connection on game over.Although on desktop it has a nice crisp resolution on android where the device automaticaly goes full screen and landscape mode i get bars on the side of the game and a big loss of quality. is there something i can do to fix that? also in case anyone knows something about the text form that wont show my keyboard?

Try removing the line “config.devicePixelRatio = 1;” in the generated index.html

Virtual keyboards are currently not supported in Unity mobile builds. You can try building a JavaScript plugin that brings up the keyboard to see if that helps the problem. (I am not sure if it will be able to actually input - have not had a chance to try out the state of virtual keyboard support)

1 Like

thank you for your reply. and for the keyboard so after game build open the index.html and add a javascript keyboard pop up right? hmm will try it out thank you again