.uplugin EnabledByDefault flag does not work for launched nor packaged games

I’m still unable to reproduce the behavior you’re referring to. Here are the steps that I’ve used:

  1. Create a new code project
  2. Add a new Blank Plugin
  3. Open the NewPlugin.uproject and set EnabledByDefault to true
  4. Also in NewPlugin.uproject change the Type from Developer to Runtime, Change the loadingPhase from Default to PostConfigInit, and add the WhitelistPlatforms line.
  5. Save the .uproject and run Generate Project Files for the Project.uproject
  6. Relaunch the project

At this point I was able to PIE as well as Launch the game and packaged for Win64. Can you explain what type of plugin you’re creating or where my steps differ from what you’ve setup?