Facebook Instant Gaming匹配报错:‘玩家当前无匹配资格’求助
问题:FB Instant Games匹配突然失效,报错"The player is not currently eligible to match"
我已经完成了Facebook Instant Games的匹配机制代码部署,之前成功跑通了3次测试:用另一个账号同时发起匹配搜索后,系统能正常完成搜索、等待流程,最终匹配成功,全程没有任何异常。
但刚才突然出现问题,这两个测试账号都无法进行匹配了,每次都会收到报错信息:The player is not currently eligible to match.
以下是我使用的通用匹配代码:
FBInstant.checkCanPlayerMatchAsync().then(function(canMatch) { console.log("Player can match: ", canMatch); if (canMatch) { // ok if we can, let's search // console.log("searching for match...", tag); FBInstant.matchPlayerAsync(tag, true).then(function() { console.log(FBInstant.context.getID()); }).catch(function(err) { console.log(err); }); } }).catch(function(err) { console.log(err); });
其中tag的值为match_bounty。
另外补充一点:用新注册的账号运行完全相同的代码,匹配功能是正常的。有没有大佬知道这是什么原因导致的?
内容的提问来源于stack exchange,提问作者MDompekidis
相关产品推荐
相关产品推荐

