I’ve encountered an issue where a particular folder, that contains only structs (statuses), cannot find another struct (artifact). I want to add artifact as a field to statuses but it’s not appearing as a variable type. Note that artifacts appear in all other folders, blueprints, structs, etc. as a potential variable type.
Is there a way to make this appear without having to make a new struct and replace all references?
Are the made “in editor” or in c++?
if c++ then try adding BlueprintType to the definition like
USTRUCT(BlueprintType)
struct FArtifactStruct
{
}
They are made and manipulated in the editor.
Works here
Did you change the name of the struct beforehand? Maybe you need to right click on the folder with the struct and fix up redirectors in folder. Are both of the structs saved after changes?
Tried the redirector fix up, both structs were saved, and still no luck. I’m unable to replicate this with any other structs, save those in this one folder.
It seem to be a protection , if the struct that you want to add make a references to the owning structure or a parents of the owning structure, it will not be displayed .
Deleted the variable that was causing it and it resolved the discoverability issue .