I’m trying to package a project using the Grid3D_FLIP_Pool template from the NiagaraFluids plugin in Unreal Engine, without modifying the template itself.
I’ve created an Actor in C++, and added a NiagaraComponent to it in the constructor like this:
static ConstructorHelpers::FObjectFinder<UNiagaraSystem> NiagaraSystemFinder(TEXT("/Script/Niagara.NiagaraSystem'/Game/VFX/NS_Pool.NS_Pool'"));
if (NiagaraSystemFinder.Succeeded())
{
NiagaraSystem = NiagaraSystemFinder.Object;
}
After writing the code as above and compiling the project (which succeeds), I see the following error message in the output log:
LogNiagara: Error: Failed to create default object for compiled variable "User.GeometryCollectionCollisions". Perhaps missing a plugin for your project?
And when I try to package for Windows, the process fails with an error related to the User.GeometryCollectionCollisions
parameter.
How can I fix this? Is there a required plugin or dependency that I need to explicitly include in the project or build configuration?