Modular Synth Presets and MIDI Loading Issues

I have a blueprint that spawn actors based on MIDI input and also has a Modular Synth component that plays the corresponding notes.
However, every time I open the project, all of the MIDI and the Modular Synth nodes have broken and are invalid until I Reload the assets from the browser.


It seems to be having trouble loading the underlying scripts:


LogLinker: [AssetLog] C:\Users\DellT5500\Documents\Unreal Projects\MyProject 4.26\Content\Geometry\Meshes\MIDIcubeSpawner.uasset: Failed to load '/Script/MIDIDevice': Can't find file.
LogLinker: [AssetLog] C:\Users\DellT5500\Documents\Unreal Projects\MyProject 4.26\Content\Geometry\Meshes\MIDIcubeSpawner.uasset: Failed to load '/Script/Synthesis': Can't find file.

Hi, I have a similar problem with an engine blueprint (BP_SunPosition). Could you solve the problem? How?

This looks like the same issue that I had (4.25.2), and the issue here:

The Synthesis and MIDIDevice plugins happen to load too late in the engine loading process on startup, which makes them unavailable when loaded after initially being used. Changing the .uplugin file on both plugins to have the "LoadingPhase": "PreDefault" makes these plugins load in before your project files, fixing the issue. .uplugin files are interpreted at load-time, so you don’t need to recompile the engine. The .uplugin file on these plugins is in their respective folders in (Engine Dir)/Engine/Plugins/Runtime.

Keep in mind that because this change is in engine files, it might not be captured in your source control software. What I plan on doing is making a script that automatically changes out the file for all of my devs’ engine download.