1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Unity 6.3からUnity LoggingパッケージがDeprecatedになった

Posted at

Unity Loggingパッケージは、Unity公式の高機能なロギングパッケージです。Debug.Logよりも柔軟かつ構造化されたログ出力が可能です。

このUnity Loggingパッケージは、Unity 6.3からDeprecatedになりました。公式からのアナウンスが2025年5月、フォーラムに投稿されています。

次のような予定になっているようです。

Timeline

  • Unity 2022.3 LTS through Unity 6.0, 6.1, and 6.2: Package will receive critical maintenance support only
  • Future Unity versions: Package will no longer be available

すでにUnity 2022.3 LTSや、Unity 6.0 LTS、Unity 6.2などにもクリティカルな問題への修正のみしかアップデートされないようです。また、「今後のUnity 6.3以降は利用できない」とも読み取れる記載があります。

Unity 6.3(Unity 6000.3.0b1)でUnity Loggingパッケージをインストールすると、警告ともにDeprecatedの表記がされています。

スクリーンショット 2025-09-21 091537.png

Unity 6.3(Unity 6000.3.0b1)で、次のコードによりUnity Loggingを使ってみたところ、一応ログが表示されたことを確認しました。ただ、公式が推奨している通り、早めに代替ライブラリへ移行すべきでしょう。

using UnityEngine;
using Unity.Logging;

public class Playground : MonoBehaviour
{
    void Start()
    {
        Log.Info("Hello, {username}!", "World");
    }
}
1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?