I have an interface provided by a plugin that I need to add to my character class. Every time I restart the editor however, the interface is removed. I can add other interfaces to my character, and the same interface breaks when added to other actors. I can re-add the interface and I get no warnings, but something seems to happen on load which clears the interface out.
In my project log, it appears that the /Script/FoliagePlugin package is not being found. The only warning I can find related to the plugin is:
“Warning: VerifyImport: Failed to find script package for import object ‘Package /Script/FoliagePlugin’”
I’ve tried setting the LoadingPhase to PreDefault (from default), but this seems to cause the editor to crash on load with the following error:
Assertion failed: ModularFeature != nullptr [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Features\ModularFeatures.cpp] [Line: 36]
So my questions are:
- Does anyone know anything about plugins /Script packages not being found on load?
or - Is there a way I might be able to add the plugin interface directly to my c++ character, so that it inherits to the BP character? (I’m wondering if that might stick)
Any help is very much appreciated. Thanks in advance!