When Packaging Project, blueprint nodes from all Plugin UFunctions error out as absent.

Hi, I’m trying to package a project on 5.2 UE. However, whenever I try to all the Blueprint nodes created by Plugins inside of the project error out.

The error is question looks like this, with the node and various types coming from the Plugins becoming invalid.

For example, this UFunction that compiles succesfully and runs in Editor succesfully:

UFUNCTION(BlueprintCallable, meta = (DisplayName = "Export Sound Wave To RAW Buffer"), Category = "Runtime Audio Importer|Export")
static void ExportSoundWaveToRAWBuffer(UImportedSoundWave* ImportedSoundWave, UPARAM(DisplayName = "RAW Format") ERuntimeRAWAudioFormat RAWFormat, const FOnAudioExportToBufferResult& Result);

errors out, only when attempting to Package:

UATHelper: Cooking (Windows): Make sure 'BP_Oscar' has been compiled for  Export Sound Wave to RAWBuffer from Source: /Game/MetaHumans/Oscar/BP_Oscar.BP_Oscar
UATHelper: Cooking (Windows): LogInit: Display: LogBlueprint: Error: [AssetLog] F:\sampleProject\Content\MetaHumans\Oscar\BP_Oscar.uasset: [Compiler] Can't connect pins  Object  and  Audio : This cast has an invalid target type (was the class deleted without a redirect?). from Source: /Game/MetaHumans/Oscar/BP_Oscar.BP_Oscar
UATHelper: Cooking (Windows): LogInit: Display: LogBlueprint: Error: [AssetLog] F:\sampleProject\Content\MetaHumans\Oscar\BP_Oscar.uasset: [Compiler] In use pin  As Imported Sound Wave  no longer exists on node  Bad cast node . Please refresh node or break links to remove pin. from Source: /Game/MetaHumans/Oscar/BP_Oscar.BP_Oscar

NOTE: This happens on all Blueprint nodes originating from the project Plugins

The frustrating issue is that this happens only on Package Project/Cook Content. Running these Blueprints through the editor works fine, nor do they error out when compiling in any of the configurations.

I’ve tried the following fixes:

  1. deleted Binaries/DerivedDataCache/Intermediate/Saved/Script and rebuilding the sln, both in Development and DevelopmentDebug.
  2. refreshing all nodes on the Blueprints in question.
  3. individually refreshing each node that is erroring out in Blueprints.
  4. Manually replacing the nodes that error out with new versions in case of incorrect refs.
  5. Deleted all UE app data for the current engine version.
  6. Upgrading engine version.

However, none of these have worked.

Are there any documented properly working fixes?

SampleProject.log (445.9 KB)

Attaching cook logs.