<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naichilab</author_name>
  <author_url>https://blog.hatena.ne.jp/naichilab/</author_url>
  <blog_title>naichi's lab</blog_title>
  <blog_url>https://blog.naichilab.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>UniRx</anon>
    <anon>UniTask</anon>
  </categories>
  <description>環境 MacOSX Mojave 10.14.2 Unity 2018.3.0f2 Rider 2018.3 概要 タイトルの通り、RiderでUniTaskを使ってこんな感じのコードを書くと、 async UniTask Hoge() { //コード } こういうエラーが出る。 The return type of an async method must be void, Task or Task&lt;T&gt; asyncメソッドは void か Task か Task&lt;T&gt; を返せやコラーってことらしい。 ちなみにUnityエディタ側のコンソールにはエラー出ていないし実行も可能。 解決方法 Un…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.naichilab.com%2Fentry%2Frider-task-error&quot; title=&quot;【Unity】RiderでUniTask使うとエラー「The return type of an async method must be void, Task or Task&amp;lt;T&amp;gt;」が出る - naichi&amp;#39;s lab&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/n/naichilab/20181227/20181227213512.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-27 21:38:50</published>
  <title>【Unity】RiderでUniTask使うとエラー「The return type of an async method must be void, Task or Task&lt;T&gt;」が出る</title>
  <type>rich</type>
  <url>https://blog.naichilab.com/entry/rider-task-error</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
