C++ USTRUCTs becomes invalid after compilation

Hi all,

After an hot-reload i get the following errors

.

http://puu.sh/j8Zhe/f3685de24a.png

VrHost/Snapshot/etc are quite simple ustructs that are generated in c++ and exposed to blueprint.
You can find the source [here][2]

This is the fourth time today that this happens, every time after an hot-reload or a clean+build from VS. It’s starting to become annoying, since every time i have to open every blueprint that uses them and specify that it’s not “Structure” what i want:

http://puu.sh/j917S/8de493a442.png

Thanks,

Riccardo.

1 Like

Did you try building under development editor, opening the project from uproject, then assigning the variables, save, etc? I only had this issue once, and usually Im working with the editor in debug mode (hotreloading usually requires me to restart everything if im working with structs). lmk if that helps.

1 Like

Some things are not supported by hot-reload, like adding new BP exposed types (structs, classes, etc). Try to close the editor, regenerate the project files and build it from VS directly.

Thanks for your answer, unfortunately i’ve already tried to do a clean+build via VS and the result is the same.

It seems though that Venros’s solution work.

That’s it, after setting the VS project in Development i’m not experiencing the issue anymore.

Thanks!

Glad it helped :slight_smile: