I’ve just started learning Unreal 5 (v5.03) (no prior experience with it, but have some experience with C++)
On a course I’m doing, they are explaining how to add UProperty to the header file of a C++ actor class to show a variable in the Unreal Editor.
Once the code has been added (and saved) I switch back to the unreal editor and do a live code compile (which succeeds) then I can see the variable in the Details panel - happy days
However if I close the unreal project and reopen it, none of the variables are listed, it’s as if the loaded project has reverted to a state before I clicked the Live code button.
However, if I click the Live code button again, the variables will reappear?
It seems the Live code is acting like a temporary solution to allow me to see the changes but without committing them to the project as permanent change, is this correct?
So far the only way I have been able to commit the changes permanently is to recompiled the class from the VS 2022 IDE and then reopen the unreal editor then the changes are there, but if that is how it is to work what is the point of live code option?