Cant access c++ structures in blueprints

Cant access c++ str



Снимок экрана 2024-05-30 213819
uctures in blueprints. Cant break and cant split

Dunno. I copied most of what you had and it works for me.

image

Show us your blueprint or variable type. How are you trying to use it?


That’s really weird. You didn’t use live coding, did you? You built from C++ before starting the editor?
What version are you on?

Everything works fine for me. Your code looks fine.

Idk dude, i didn’t use live coding. Yep. 5.2.1

That’s messed up. It should be working. Older versions of UE used to have weird issues with the constructor inside a struct. Trying commenting it out to see if that does anything. Just grasping at straws, but might be worth a try. You could also try renaming your struct to make sure it’s not conflicting with an existing BP or in-editor struct. (edit: I mean the typename. So instead of FWeaponData, try FTestWeaponData or something you know that isn’t being used)

Other than that, I got nothing.

lol, i changed name and now its work, thanks

Ah nice. Glad it’s working! Please set a solution to close this thread.

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