- Home /
Question by
barrett-and · Aug 23, 2017 at 06:31 AM ·
buildwebglhtmldimensions
WebGL Build resizes to 1280x720 when I open a specific scene, despite those dimensions never appearing in my code.
I'm trying to make a Unity WebGL build, and I need it to fit a specific dimension so scroll bars don't appear. I had the player settings define the width and height as 960x540, and when the build starts, for the first couple of scenes, it maintains that dimension. However, when I open the scene with the most gameobjects, the dimensions reset to 1280x720, despite those dimensions never being mentioned in UnityLoader.js nor index.html.
Comment