以下の内容はhttps://baba-s.hatenablog.com/entry/2022/01/13/150000より取得しました。


【Unity】Addressables を導入しているプロジェクトで再生に時間がかかる場合は AssetReference が原因の可能性がある

概要

Addressables 1.18.16 あたりから AssetReference のコンストラクタで

/// <summary>
/// Construct a new AssetReference object.
/// </summary>
public AssetReference()
{
#if UNITY_EDITOR
    EditorApplication.playModeStateChanged -= ReleaseHandleWhenPlaymodeStateChanged;
    EditorApplication.playModeStateChanged += ReleaseHandleWhenPlaymodeStateChanged;
#endif
}

イベントの登録と解除が行われるようになった
その関係で AssetReference をたくさん使っているプロジェクトだと
Unity の再生時に数十秒待ち時間が発生することがあるらしい




以上の内容はhttps://baba-s.hatenablog.com/entry/2022/01/13/150000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14