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

**URL:** <https://forums.unrealengine.com/t/build-cook-crashing-with-error-multiple-editor-targets-but-no-default/1138205>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [April 23, 2023, 3:25pm UTC](https://forums.unrealengine.com/t/build-cook-crashing-with-error-multiple-editor-targets-but-no-default/1138205 "2023-04-23T15:25:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tyconner](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tyconner/32/1203517_2.png) [@tyconner](https://forums.unrealengine.com/u/tyconner)\
**Post date:** [April 23, 2023, 5:10pm UTC](https://forums.unrealengine.com/t/build-cook-crashing-with-error-multiple-editor-targets-but-no-default/1138205/2 "2023-04-23T17:10:13Z")

</div>

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:

```auto
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.

---

_[View the full topic](https://forums.unrealengine.com/t/build-cook-crashing-with-error-multiple-editor-targets-but-no-default/1138205)._
