In the Package build, the following error occurred : Could not find template object for NiagaraDataInterfaceArrayFloat

Hi.

It occurred​ only package build.

In My Project, the following error occurred:

LogStreaming: Warning: Missing Dependency, missing package import 0x100000009 for package /Game/Items/ActorName

LogStreaming: Error: CreateExport: /Game/Items/ActorName (0xE6A4AA251EEDE4A7)/Game/Items/ActorName (0xE6A4AA251EEDE4A7) - Could not find template object for NiagaraDataInterfaceArrayFloat

This error only occurs in some actors, even though other actors using NiagaraDataInterfaceArrayFloat do not trigger it.

I’ve tried saving it with a different name, but the error still occurs.

​Thanks for reading.

Hey,

I don’t know the exact reason for this occuring, we had a report of it internally in Lyra which I just tried to repro but it does not in 5.6.

My theory is that 39171001 may have fixed it, as it removed RF_Public from data interfaces that do not require it (i.e. ones that are not user parameters).

Do you know if the system your using happens to have any public data interfaces or are they all internal?

Thanks,

Stu

No that will be fine, this is about UObject flags and packages, and how we used to set everything to public incorrectly.

This meant that lots of DIs made it into a cooked build that didn’t need to be there as they were not used.

If your DI needs to be public it will remain so.

If you could check with that CL integrated, or in 5.6 that would be great.

Thanks,

Stu

In my project, I used UNiagaraDataInterfaceArrayFloat, which is included in the FX Plugin.

As far as I know, it’s a publicly available data interface, is that correct?

Also, I only utilized it within the editor, without any direct code implementation.

If another plugin were to use UNiagaraDataInterfaceArrayFloat in its code without setting RF_Public, could it potentially cause any issues?

Thanks.​