Facebook Gameroom publishing issues due to screen size

I’m getting many reports from users of various issues relating to incorrect screen sizes being reported from gameroom to Unity.

Issues from bits of the interface being slightly cut off to the screen being the tiniest part of the screen possible. Screenshots from users say it better than I can.


(tiniest little rectangle within the game on this one)

On this one the interface is cut off at the bototm and the top.

The interface tool I’m using is NGUI. However this issue is not present on standalone windows / mac versions or Android / iOS / WebGL which leads me to think it’s a gameroom issue?

Has anybody got any tips for settings for publishing to Gameroom? The only lesson I’ve learnt so far is 100% do not publish in anything other than x86 right now!

I thought I was the only one who had this problem, there’s been updates to either Gameroom or Unity or both over the period of the last 2 months that has cased this problem, try not to beat yourself up trying to fix this as I’ve tried every setting and is not NGUI as I use unity GUI and same thing happens, Patch 5.6.2p1 is the only patch or release I’ve found that makes this problem go away, I’ve tried all the 2017 releases plus latest 5.6.2p4 and all game running in Gameroom has lower portion of the screen cut off and other glitches.

Patch 5.6.2p1 had this fix(outlined below) which i tried at the time and to my best memory it worked but since then must of tried sooooo many of the newer releases that my mind is convincing me that maybe that don’t even work, but please try if you can and obviously make back ups before hand.

  • (904471) - Windows: Fixed switching to full screen from windowed when using dx11.

please if anyone can shed any more light on this problem thanks

if you fix this somehow or try that patch release and it works please let us know.

EDIT! I tried that unity patch release last night and it doesn’t work anymore :frowning: so my guess its a gameroom issue.

I have a similar issue when starting my game in gameroom. It seems to resolve itself instantly if I resize the gameroom window manually? Does it also help in your use cases @andrew210_1 and @EndlessGoldfish ? This is still not a solutopn, just a workaround to pinpoint the underlying issue.

Sorry I didn’t see this originally, the issue still seems to be there on publishing for DX11, the Gameroom window doesn’t seem to be sending any resize window events to the game. Also if a player changes focus away from the Gameroom window and then back to it, I have to tell them to click on the blue gameroom area of the gameroom window before the game will respond to their keyboard input again.

Ok so I think I have the solution to this now, on looking through the registry entries for my program, the player pref values for screenmanager seem to take precedence over settings I put on the game. I deleted all the registry values and it seemed to start working ok again (credit to this post over here for helping me confirm what was up: Launching game in windowed mode by default (problem) - Questions & Answers - Unity Discussions)

Sorry to hijack this thread, any of you guys already published on Gameroom? I am banging my head of the wall a few days. Why is Facebook asking "Login Integration notes"for App Center Review as Gameroom already has it’s user logged in. Do we have to implement something else for login ? Thanks!

P.S.
By the way I also had this bug once. Installed Patch 2 for 2017.2 and also made sure I have all this points checked:

  • Capture single screen - ON
  • Display Resolution Dialog - Hidden By Default
  • Resizable window - OFF
  • Allow fullscreen switch - OFF

Now all works (minus the in Editor Upload, but that’s for other thread).

Hey Symyon - I’ll post my code for you asap - sorry I’ve just seen this. PM me if I don’t get back to you on this in the next day or so.