LoginSignup
4
2

More than 5 years have passed since last update.

Log Viewerを2017.2.0p2以降に入れる場合の注意

Last updated at Posted at 2017-12-18

Log Viewer便利ですよね。

端末単体でのテストプレイであってもログを見る事が出来るのは素敵だと思います。
しかもタダだし。これはインポートするしか無い(やり方は割愛)!

あれ? エラーがでる。

logviewer_builderror.png
あらやだ。obsoleteじゃないですか。

デバッグしましょう

以下の3行をコメントアウトでOKです。

Unity-Logs-Viewer/Reporter/Reporter.cs
if (Application.platform != RuntimePlatform.OSXWebPlayer && Application.platform != RuntimePlatform.WindowsWebPlayer)
    if (!url.Contains("://"))
        url = "file://" + url;

アップデートを待ちましょう

Log Viewerがアップデートするのを待ちましょう。改善されたらこの記事も更新します。

2017/12/21追記

アップデートが来ていたので早速入れましたが相変わらずビルドエラーは解消されていませんでした。
また、良く見たらMonoBehavior.OnLevelWasLoadedを使っているので、更に未来には使えなくなる可能性が見えています。ここも改善出来ればいいなぁ。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2