Visual studio don't save change to unreal engine

When I Launch Unreal engine 5, all the changes I do, like “UPROPERTYS” in visual studio don’t show, only I can see it if I launch unreal engine from visual studio . Please I need Help

1 Like

you have to open the blueprint and click the undo button next to the property that you changed

Are you just saving or building/compiling the code?

You can use the compile button inside the editor to compile your C++ files. Then UPROPERTIES will be shown.

When you launch the editor from Visual Studio, it first compiles the code you wrote. So, if you just trying to save and launch the editor normally it won’t work. You should first compile your code and then you can launch the editor normally.

And yes, you might need to reset the values to default as @ugmoe said if you changed them. I recommend using Jetbrains Rider with unreal engine since it can scan the blueprints and show the values of your varibles inside them. It also allows you to see how many blueprint classes are derived from that C++ class. So, when you make a change you know which blueprints are going to be affected.

I build in “develonment editor” and now I can see everything, before I was using “debug game editor”

That’s good for starting the editor after a code session. But if your are making small adjustments to your code (functions, algorithms, variables etc.) I highly recommend using the in editor compile function since it might save you sometime.