My struct variable (object reference) to a custom C++ object class
whenever I close and re-open the editor, the variable’s data type is changed to a object?, this happens not only in the struct but other places like in my function library too
I can change the struct back to my custom c++ object data type however I get a series of errors which doesn’t go away until I delete the’ ‘Item Data’ variable and compile, it fixes the issue and if I undo and compile it works and my item data is restored? O_o
is this a bug? (because of similar topics):
More Info:
UE Version: 5.6.1-44394996+++UE5+Release-5.6
Platform: Windows 10 (22H2) [10.0.19045.6332] (x86_64)
also weird, this time only the blueprint function library throwed a error, b4 I got some errors in my inventory component but now I don’t when I re-opened UE?
now the BFL error is thrown because the function’s input ‘Item Data’ variable data type was changed to object type, so I’m not sure what’s going on , also lemme put my C++ class code here:
I tried through IDE cleaning the solution, rebuilding it, also by reloading the class do you mean rebuild?, I’m not sure I come from Unity so I’m not that experienced with UE yet
by right clicking my class I’m not seeing a reload option, by editor do u mean the UE editor or the IDE?, srry if I’m being a little stupid xd