![](https://www.create-forever.games/wp-content/uploads/2021/10/image-18.png)
unity2020 のプロジェクトを起動すると、こんなエラーが出ることがあります。
Enter Safe Mode などと書かれていると「プロジェクトが壊れちゃった!?」と思うかもしれませんが、ソースコードや設定にちょっとしたエラーがあるだけでも、このダイアログは表示されます。
なので、それほど意味深な状態ではないようです。
このエラーダイアログが如何に簡単に出るかを試すために、unity2020 で新規プロジェクトを作成、NewBehaviourScript.cs に次のようなコードを書き、エラーのある状態でプロジェクトを閉じます。
using System.Collections; using System.Collections.Generic; using UnityEngine; public class NewBehaviourScript : MonoBehaviour { // Start is called before the first frame update void Start() { error code; } // Update is called once per frame void Update() { } }
![](https://www.create-forever.games/wp-content/uploads/2021/10/image-17-1024x145.png)
再びプロジェクトを開くだけで、先ほどのエラーダイアログが表示されます。
![](https://www.create-forever.games/wp-content/uploads/2021/10/image-18.png)