无法使Unity网络播放器加载Facebook dll [英] Cannot get the Unity web player to load the Facebook dll

查看:131
本文介绍了无法使Unity网络播放器加载Facebook dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试针对我正在开发的FB Canvas游戏测试我的Facebook集成.启动播放器时,我会在控制台中看到以下消息:

I'm trying to test my Facebook integration for a FB Canvas game that I'm working on. When I launch the player I see the following message in the console:

loading dll: /rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll Failed downloading /rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll

loading dll: /rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll Failed downloading /rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll

如果我查看apache日志,就会看到对/rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll

and if I look in the apache logs I see a request for /rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll

使用Facebook SDK的4.3.x版本时,我也遇到同样的问题.

I have the same problem using the 4.3.x version of the Facebook SDK.

我正在使用Unity编辑器4.3,并在OSX上的Chrome中进行测试.

I'm using Unity editor 4.3 and testing in Chrome on OSX.

我是否在MonoDevelop中缺少DLL或引用?

Am I missing a DLL or a reference in MonoDevelop?

推荐答案

这听起来像是您为Unity网络播放器进行了构建并运行.这将在本地文件系统以外的Web浏览器中启动游戏.为了安全起见,在Web浏览器中运行时,SDK必须在Facebook画布上运行.您需要设置一个Facebook应用,操作说明在这里: https://developers.facebook.com/docs/unity 或者,您可以通过点击播放按钮在Unity编辑器中进行测试.

It sounds like you hit build and run for the Unity webplayer. This launches your game in a web browser hosted off your local filesystem. For security purposes, the SDK must be running on Facebook canvas when run in a web browser. You'll need to set up a Facebook app, instructions are here: https://developers.facebook.com/docs/unity Alternatively, you can test in the Unity editor by hitting the play button.

这篇关于无法使Unity网络播放器加载Facebook dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆