What is the workflow, or process, for making changes to the C++ code and blueprints, and then seeing the effects in the game?
I’ve noticed that if I add a UPROPERTY to a blueprint minSpeed for example, that I won’t see that change within the blueprint until I exit out of Rocket, then restart.
At the moment my workflow looks like this:
In Visual Studio I add a new UProperty to FlyingPawn.cpp
In Rocket I compile
5 Open Blueprint, and see the change
Surely there has to be a faster way, or am I doing something wrong? Any input would be appreciated. Thanks!
Oh I see now – you need to have rocket closed in order for those changes to propagate.
That’s a feature I’d like to see implemented: The ability to compile in Visual Studio, then see the changes within Rocket without having to re-open rocket
You can, at least i do. If you only change cpp files, compile in editor, if you change H files, compile in VS, then press the Compile button in editor, thats it. I implemented a third person shooter camera without closing the editor even once
If making changes to .cpp
- Compile in editor
If making changes to .h
- Compile in VS
- Compile in editor
But no need to close the blueprints or Rocket at all?
sometimes, ive found that changing the components dont get the blueprint updated, causing some problems, when that happens, i just delete the blueprint and make it again, so it reloads and everything is fine. (request: make a “reload” option in a blueprint)
and no, you dont have to close Rocket at all, never. ( that is actually pretty ■■■■ amazing)
I am not proclaiming my workflow to be the best, but here is what I do
- decide I want a new property on a blueprint
- add the blueprint in the code as a UPROPERTY, making the changes to the source in my preferred external c++ editor
- compile my game using Visual Studio
- load rocket, which was closed so that compiling could occur
- set the defaults for my newly existing blueprint UPROPERTY
Please do note you can use any c++ editor you want and I find VS to be anything less firmly descriptive than “clunky”
I only use VS for compiling