Version: 2023.2
言語: 日本語
YAML クラス ID リファレンス
分析

Troubleshoot the Editor

The following sections explain how to troubleshoot and prevent problems with the Unity Editor in different situations. In general, make sure your computer meets all the system requirements, is up-to-date, and that you have the required user permissions in your system. Also, make backups regularly to protect your projects.

バージョン

You can install different versions of the Editor in different folders. However, make sure you backup your projects as these might be upgraded by a newer version, and you won’t be able to open them in an older version of Unity. Refer to installing Unity for further information.

アドオンのライセンスは Unity のメジャー番号が同じ場合、例えば 3.x や 4.x、のみ有効です。もし Unity のマイナーバージョンのアップグレードを行う場合(例えば 4.0 から 4.1 へ)、アドオンは保持されます。

Activation

The Unity Hub is the primary method for all license management operations. For information about all license activation methods, refer to License activation methods.

If you experience issues activating your license, refer to License Troubleshooting.

If you still have problems activating your license or logging in to your user account, contact support@unity3d.com.

Failure to Start

もし Unity の起動時にクラッシュする場合は、コンピューターが最低限の 動作環境 を満たしているかを確認します。さらにグラフィックドライバやサウンドドライバを最新にアップデートします。

If you get disk write errors, check your user account restrictions. When in macOS, note the “root user” is not recommended and Unity hasn’t been tested in this mode. Unity must always have write permissions for its folders, but if you are granting them manually check these folders:

Windows:

  • Unity のインストールフォルダー
  • %AllUsersProfile%\Unity (typically C:\ProgramData\Unity)
  • C:\Documents and Settings\\Local Settings\Application Data\Unity
  • C:\Users\\AppData\Local\Unity

On macOS:

  • Unity.app のパッケージコンテンツ
  • /Library/Application Support/Unity
  • ~/Library/Logs/Unity

Some users have experienced difficulties when using hard disks formatted with non-native partitions, and using certain software to translate data between storage devices.

Fonts

壊れたフォントにより Unity がクラッシュする場合があります。次の方法により壊れたファイルを見つけることができます。

Windows:

  1. コンピューター上の “Windows” フォルダーにある fonts のフォルダーを開きます。
  2. “表示”から “詳細” を選択します。
  3. ファイルサイズが“0”のフォントについては問題のあるファイルなので“サイズ”カラムをチェックします。
  4. 壊れたファイルを削除して再インストールします。

On macOS:

  1. Font Book アプリケーションを起動します。
  2. すべてのフォントを選択します。
  3. “ファイル” メニューを開き、“フォントを検証” を選択します。このとき問題のあるフォントは無効と表示されます。
  4. 壊れたファイルを削除して再インストールします。

システムのリソースが制限されている場合があります。例えばバーチャルマシン上で実行されている場合などです。タスクマネージャーを使用して大量のメモリを消費しているプロセスを探します。

Corrupt Project or Installation

Unity might try to open a project that is corrupt, and this might include the default sample project. If this is the case, rename or move the folder of the project. After Unity starts correctly, you can restore the project’s folder if wished.

In the event of a corrupt installation, you might need to reinstall Unity. Refer to the instructions below.

In Windows, there might be problems like installation errors, registry corruption, conflicts, and other issues. For example, error 0xC0000005 means the program has attempted to access memory that it shouldn’t. If you added new hardware or drivers recently, remove and replace the hardware to determine if it’s causing the problem. Run diagnostics software and check information on troubleshooting the operating system.

Performance and Crashes

If the Editor runs slowly or crashes, particularly on builds, this might be caused by all of the available system resources being consumed. Close all other applications when you build the project. Clean up the system using its utilities, and consult the Task Manager (Windows) or Activity Monitor (MacOS) to find out if there are processes using lots of resources, for example memory. Sometimes virus protection software can slow down or even block the file system with its scanning process.

Project Loss

There are many factors that can destroy a project. The recommended best practice is that you constantly backup your projects to prevent unfortunate accidents. When in macOS, activate Time Machine using an external hard disk reserved for this sole purpose. After a loss you can try any of the file recovery utilities that exist, but sometimes this is irreversible.

Re-installation

Follow these steps to reinstall the Editor:

  1. Uninstall Unity. When in macOS, drag the Unity app to trash.

  2. 次のファイルがある場合は削除します。

    • Windows
      • %AllUsersProfile%\Unity\ (typically C:\ProgramData\Unity)
    • MacOS:
      • /Library/Application Support/Unity/
  3. コンピューターを再起動します。

  4. 最新版を Web サイトからダウンロードします。これは元のインストーラが壊れている場合があるためです。

  5. Unity を再インストールします。

その他の参考資料

YAML クラス ID リファレンス
分析