您的位置:首页 > 移动开发 > Unity3D

Unity3D 常见问题

2017-02-22 17:08 141 查看

1. error CS0103: The name `Analytics’ does not exist in the current context

Result

2. 运行Editor模式下,频繁卡死

原因是在于运行Editor时Unity3D会频繁请求网络,而且还都是境外服务,所以会造成卡死。

Mac下使用Little snitch限制Unity3D的网络请求就可以了。

3. WWW

Error: Cannot create FMOD::Sound instance for resource (null), (An invalid parameter was passed to this function. )


unable to determine the audio type from the url


在使用WWW时碰到如上问题,但是我的数据都是Json数据,并没有取AudioType等。

发生问题的原因是当GameObjec被SetActive(false)时,协程会被中断,进而导致WWW也被中断,从而出现异常。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: