全文
get_transform can only be called from the main thread.Constructors and field initializers will be executed from the loading thread when loading a scene. Don't use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.
transform とかそういう Unity 特有の動作はメインスレッド(Task.Run()内ではやらないで)で実行してねって感じ。
Task を使い始めてからでてきた。
AndroidStudio のデータベース操作とかでもよくでてきた感じのやつ。