Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Fullscreen for unity project not working properly

A topic by TheCze created Oct 20, 2021 Views: 694 Replies: 2
Viewing posts 1 to 3

Hey everyone, not sure if this is related to itch or Unity, but I'm trying to have my Unity game appear in fullscreen but it is instead staying the same size while the rest of the screen is black. You can see the effect yourself if you take a look at the projects page:

https://thecze.itch.io/eclipse-techbox

Does anyone know how to fix this issue?

I haven't used Unity, but I notice that your HTML page has the unityContainer div set to a fixed pixel width/height instead of screen-size-relative units, and this Stackoverflow thread suggests that could be the problem: https://stackoverflow.com/questions/55450290/unity-web-gl-html-container-how-to-...

Thank you very much, this seems to be the correct way to approach the problem!

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.