Facebook Gameroom game crashes on launch

Hello,

Sorry if this is the wrong section, but I couldn’t find a suitable subsection.

I’m trying to port a game from Windows/MacOS/Linux to Facebook Gameroom. Since it wasn’t working, I finally decided to do it with a very basic project: a cube, a camera & a directional light. Nothing else.

It crashes immediately upon startup. I attached the crash report files.

I use the “Facebook recommended” version which is 5.5.0f2 downloaded from the Facebook documentation link.

Anyone has any idea how to fix the issue or has the same error?

3148117–239152–output_log (5).txt (13 KB)
2870519–210333–error.txt (53.6 KB)

Having the exact same crash here. It seems to be caused by the Gameroom client trying to capture the graphics device (the games always run inside the Gameroom window). I had it working before (with 5.4 I think), so I’m thinking it might have been caused by a recent Gameroom update. There are a number of Unity games though that still work, like “Oz: Broken Kingdom” which seems to have been built with 5.3 even.

Hi, this is a regression introduced in 5.5, and the team is working on a fix.

For the time being, it works if you remove DirectX11 support and force DX9.

2880148--211386--Capture.JPG

Thank you for this tip. We had a working version in 5.4 but upgraded to 5.5 to get the enhancements to webgl build and suddenly the gameroom build would crash on startup. This appears to have fixed it for now.