Build/Cook crashing with error "multiple editor targets but no default"

  1. Open the project’s DefaultEngine.ini configuration file. You can find this file in the Config folder of your project directory.
  2. Look for the [/Script/BuildSettings.BuildSettings] section in the configuration file.
  3. If the DefaultEditorTarget setting is missing, add the following line to the BuildSettings section:
DefaultEditorTarget=TargetName

Replace “TargetName” with the name of the editor target that you want to set as the default. The name of the editor target should match the name of the .uproject file for that target.

  1. Save the DefaultEngine.ini file and close it.
  2. Rebuild your project and try packaging it again.
2 Likes