I have recently started using C++ after becoming comfortable with blueprints. In order to compile quickly and easily, I have been using Live Coding. However, I have noticed that when I make changes using Live Coding and then relaunch the editor, those changes disappear unless I activate Live Coding again. Specifically, I’m referring to changes such as displaying a variable in the editor using UPROPERTY.
I understand that if I build the project, these changes will be visible. But I thought Live Coding also builds the project while the only difference is it is building while the engine is running. Perhaps I have misunderstood the concept of Live Coding. There is another issue I would appreciate help with: when I use Live Coding to display a variable in the editor and then change its default value through the editor, and then relaunch the editor without building it, the variable is not displayed. However, if I build the project and launch it again, not only is the variable displayed, but it also retains the default value I set in the editor after using Live Coding.
My confusion here is from the fact that if I relaunch the editor without building it after using Live Coding, the variable and its default value are lost. But since the variable is still present in the code, I expected to see it when I build the project not the default value I set. Where is the default value stored in this case?