Packaging with DirectInputManager Plugin

Hello,
I tried to package a new empty project with your DirectInputManager Plugin enabled and I always get an error message who fail the build.
The only thing I did was enabling the plugin after copying it in the engine folder : C:/UE_4.18/Engine/Plugins
I also tried to coping it the root of my project in a folder “Plugins”
I’m using UE 4.18.3 and the standard 4.18 editor of your plugin.

Log:

UATHelper: Packaging (Windows (32-bit)): LogWindows: Error: Assertion failed: Pair != nullptr [File:D:\Program Files\Epic Games\UE_4.18\Engine\Source\Runtime\Core\Public\Containers/Map.h] [Line: 478]
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error:
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error: [Callstack] 0x00000000DB684008 KERNELBASE.dll!UnknownFunction []
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error: [Callstack] 0x00000000AEF376D4 UE4Editor-ApplicationCore.dll!UnknownFunction []
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error: [Callstack] 0x000000009178330B UE4Editor-Core.dll!UnknownFunction []
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error: [Callstack] 0x00000000917147F9 UE4Editor-Core.dll!UnknownFunction []
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error: [Callstack] 0x000000007CF5A2E6 UE4Editor-DirectInputPlugin.dll!FDirectInput::~FDirectInput() [c:\users\biagio.nicpc01\source\repos\directinput manager\directinputmanager\plugins\directinputplugin\source\directinputplugin\private\directinput.cpp:751]
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error: [Callstack] 0x000000007CF62A60 UE4Editor-DirectInputPlugin.dll!SharedPointerInternals::TReferenceControllerWithDeleter<FDirectInput,SharedPointerInternals::DefaultDeleter<FDirectInput> >::DestroyObject() [d:\program files\epic games\ue_4.18\engine\source\runtime\core\public\templates\sharedpointer
internals.h:116]
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error: [Callstack] 0x000000007CF5ABEA UE4Editor-DirectInputPlugin.dll!FDirectInputManager::~FDirectInputManager() []
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error: [Callstack] 0x000000007CF5C7EE UE4Editor-DirectInputPlugin.dll!FDirectInputManager::`scalar deleting destructor'() []
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error: [Callstack] 0x000000007CF764A0 UE4Editor-DirectInputPlugin.dll!FDirectInputPlugin::ShutdownModule() [c:\users\biagio.nicpc01\source\repos\directinput manager\directinputmanager\plugins\directinputplugin\source\directinputplugin\private\directinputplugin.h:15]
UATHelper: Packaging (Windows (32-bit)): LogWindows: Error: [Callstack] 0x00000000918374B7 UE4Editor-Core.dll!UnknownFunction []

Do you know why it’s not working? Can you help me, please?

Just found out that if I unplug my controllers before to start the engine, I can package it! I don’t understand why but it works if there is no controller plugged.

Now I can play my game with 8 players with my 8 Xbox 360 gamepads \o/