実行時エラー

NullReferenceException

<aside> ⚠️

NullReferenceException: Object reference not set to an instance of an object

</aside>

MissingReferenceException

<aside> ⚠️

MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it.

</aside>

IndexOutOfRangeException

<aside> ⚠️

IndexOutOfRangeException: Index was outside the bounds of the array.

</aside>

StackOverflowException(無限再帰)

<aside> ⚠️

StackOverflowException (Unity がクラッシュすることもある)

</aside>

コンパイルエラー

CS0246 / CS0103 — 型・変数が見つからない

<aside> ⚠️

error CS0246: The type or namespace name 'XXX' could not be found (are you missing a using directive or an assembly reference?)

</aside>