All variable types from a plugin were set back to Object.

Hi :slight_smile:
So, my issue is: I have variables in a blueprint with the variable type from a plugin (DirectExcel). The type is always a subclass of Object.
When I restart the engine it sometimes happens that all variable types set themselves to Object instead of the specific type.
It is like my project forgets the plugin for a second, breaks all blueprints and then it remembers that the plugin is enabled, but all blueprints stay broken.

How I reproduce this behavior:

  1. I open the editor from Visual Studio or via the uproject file.
  2. Make changes to some blueprints (not the ones that will break).
  3. Close the editor.
  4. Restart the editor from Visual Studio in DebugGame or Development Editor.
  5. 25% chance to break the blueprint, which uses data types from the DirectExcel plugin.

More information:

  • Unreal Vanilla 4.27.2
  • I can not revert it in my source control, because I haven’t changed them.
  • I can only go back in the history in my source control.
    What I’ve tried so far:
  • Delete Binaries, Intermediate and Saved folder.
  • Store the plugin in the Engine/Plugin/Marketplace folder instead of the projects plugins folder.

I fixed the issue by changing the LoadingPhase of the Plugin from Default to PreLoadingScreen.