Default Value'/Engine/Transient.REINST_turretData_C_1' for {magnifying glass]Target is invalid

Default Value’/Engine/Trainsient.REINST_turretData_C_1’ for {magnifying glass]Target is invalid. ‘/Engine/Transient.REINST_turretData_C_1 isn’t a turretData_C(specified on pin self)’

What does this mean? I’m getting this error on my Turret Blueprint, where I use the functions to get turretdata based on an enum. turretData is a function library. I call say, getTurretArmor with an enum, and it returns a set of variables depending on which enum I’ve passed in. I havent touched any of this blueprint code in weeks. I have been working on my UMG widgets get information from the turret blueprint, when this error popped up.

I’ve tried using the reference tree, but it only lists a single BP, and doesnt seem to do anything.

if I do a Refresh Nodes it seems to clear things up temporarily.

This seems to be the same bug as this; https://answers.unrealengine.com/questions/68860/bug-issues-with-functions-inside-function-library.html

Hi ,

Can you post a screenshot of your blueprints?

Highlighted node is the one that was giving me the error.

I’ve since re-programmed my blueprint and stopped using the function library, and I’m not getting this error now. I’m not 100% sure if this started after an engine update, or when I started working on my UMG widgets. But I hadnt touched the turretData blueprint, or the highlighted node.

When I used “Refresh all nodes” from the menu, it would clear the error. But when I restarted the editor, it would re-appear.

Hi ,

This sounds similar to another users error, here:

[Bug][Video] Strange bugs probably related to AddChildActorComponent node - Programming & Scripting - Epic Developer Community Forums .