以下の内容はhttps://yotiky.hatenablog.com/entry/unity_taskforgetより取得しました。


投げっぱなしのタスク処理(async void、UniTask.Void、Forget)

    async void Awake()
    {
        try
        {
            Debug.Log("async void");
            await UniTask.Delay(5);
            throw new Exception($"async void exception : frame {Time.frameCount}");
        }
        catch (Exception e)
        {
            Debug.LogError("catch exception:" + e.Message);
        }
    }

    private void Start()
    {
        try
        {
            UniTask.Void(async () =>
            {
                Debug.Log("Void");
                await UniTask.Delay(5);
                throw new Exception($"Void exception : frame {Time.frameCount}");
            });

            Hoge().Forget();
        }
        catch (Exception e)
        {
            Debug.Log("catch exception:" + e.Message);
        }
        
    }
    
    private async UniTask Hoge()
    {
        Debug.Log("Forget");
        await UniTask.Delay(5);
        throw new Exception($"Forget exception : frame {Time.frameCount}");
    }




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

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