Invalid Type but I don't know why

I have been given the following error:

The variable Quest Ref declared in BP_NPC has an invalid type Structure

But I’m not sure why? The variable “Quest Ref” is a structure reference with 3 pieces of information and I use it in 3 different areas. Not sure what the error is about.

The first use is in the begin play setup. The three-pinned structure with the Name/Description/ActorReference is the variable split open.

The second use is as a reference for the player blueprint.

The last time is as a comparison point.

If anyone has a clue what my issue is, I’d be most grateful!

Hi!, I think you have to change NPCRef variable to object reference instead of class reference.
If it works, inform me.
Thanks!

That was it, thank you! Not sure how I kept overlooking it!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.