【问题标题】:Does google play services for Unity use the profiler?Unity 的 google play 服务是否使用分析器?
【发布时间】:2015-02-13 13:53:28
【问题描述】:

我正在尝试在 logcat 中调试我的游戏,但是当我在构建设置中添加 script debugger 时,我的 logcat 会被 profiler is only supported in Unity Pro. 淹没。由于我没有使用分析器并且只使用 Google Play 服务作为第 3 方脚本,我怀疑它启动了分析器。

如果是这样,我该如何关闭它以便正确调试?如果不是,还能是什么?

我一直试图从 logcat 中过滤出短信profiler is only supported in Unity Pro.,但没有成功。我在 Android-SDK 附带的工具图中使用 UI monitor.bat。这应该是一种解决方法。

【问题讨论】:

    标签: debugging unity3d google-play-services logcat


    【解决方案1】:

    根据文档:http://docs.unity3d.com/Manual/Profiler.html - 分析器是 Pro 独有的功能。

    分析器不同于调试日志消息。

    要从我的应用程序中获取调试消息,我在脚本中调用 Debug.Log("...."),然后运行 ​​adb logcat 并显示消息:

    I/Unity   (12241): Status Update: Starting sign-in...
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-09
      • 2019-03-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多