Build issue

When packaging for Win64 using Package Project option I have this issue:

Assertion failed: IsValid() [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.10\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 728] 

I’m on Windows 10. Anyone know any workaround? Attached text

The same issue appears in 4.11 preview 3

By disabling earlier created editor plugin button it cooks without a problem.

I have added new plugin using editor - simple button. Default configuration was Development (so when cooking it was trying to cook the plugin into build) instead of Editor. This could be fixed to prevent similar issues which is really hard to track without debugger.