简体   繁体   English

Facebook Instant Games:卡在加载中

[英]Facebook Instant Games: Stuck at loading

We're trying to put our HTML5 game on Phaser into Instant Games.我们正在尝试将 Phaser 上的 HTML5 游戏放入小游戏中。 The game loads when opening from PC browser by https://www.facebook.com/instantgames/... link.通过https://www.facebook.com/instantgames/...链接从 PC 浏览器打开游戏时加载。 But whrn trying to pone the game from an Android FB app, the loading progress starts but gets stuck at some random figure at about 70-90%.但是当试图从 Android FB 应用程序中加载游戏时,加载进度开始但卡在大约 70-90% 的某个随机数字上。

Have anyone dealt with something like this?有没有人处理过这样的事情? Or maybe you know a way to debug it?或者,也许您知道调试它的方法?

在此处输入图片说明

Well, the progress gets stuck simply because there's some exception behind it.嗯,进度卡住了,只是因为它背后有一些例外。 It may be a server responding with 500 or it may be a JS exception.它可能是一个响应 500 的服务器,也可能是一个 JS 异常。 To find out the exception that was behind the problem we just opened the game at m.facebook.com with DevTools.为了找出问题背后的异常,我们刚刚使用 DevTools 在m.facebook.com上打开了游戏。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM