How do I make Play in Editor play in the main Viewport by default?

Is there anyway to make “play in editor viewport” active when first loading a project?

Sorry, this is a bug. The Editor is supposed to remember which PIE mode was last active. I checked in a fix for this, but it was too late for the 4.2 update, so it will be available in 4.3.

In the meantime, you can do the following:

  1. Close your Editor
  2. Open your project’s EditorUserSettings.ini
  3. Locate the section [/Script/UnrealEd.LevelEditorPlaySettings]
  4. Set LastExecutedPlayModeType=PlayMode_InViewPort
  5. Save the file and start your Editor

You may have to repeat this if you change any of the Level Editor → Play settings in the Editor Preferences.

Glad to hear it’ll be fixed though!

What a pain. It just keeps changing it back.