I want to be able to, e.g., swap meshes on-runtime using the Web Remote. So I created a Packed Level Actor (did the same for a normal blueprint, too), added Instanced Mesh, made the typical “swap meshes” workflow with the material array and so on. Made an array with three static meshes, indicated them w/ numbers to be able to switch through number changes via the variables. The “Mesh/Number Change” Variable is set to “instance editable”. Its in the Construction Script.
So far, so good. It works. (The same thing for like scaling, rotating of the Instanced Mesh in BP and so on, if that is easier to understand. I know, when I scale the BP it scales the Mesh too, but I would need that feature for other things…)
It also works with the Web Remote. So I can change mesh numbers, transforms, etc. - but only in editor (both through web interface or directly in UE at the RC control panel or - surprise - directly at the Details panel, when the BP is selected). HOWEVER, it does not work on-runtime, meaning when I “play in editor” or with a new window. I can transform the whole blueprint or lights for example, but not the variables in the Blueprint.
Does it work with BP functions? How? I did not get my head around that that much; I would need to incrementally change values as I desire, not boolean on/off like.
Tl;dr: is it possible to change values of variables from a BP through Web Remote?
Thank you; I´m aware of that very post.
However, as described, it does work for me - for actors (SM, Lights, …) in the level - but not for controlling properties (variables) I declared in a BP in that level.
Aka
The “outer” BP is controllable just like to be expected, both in-editor and on runtime (but as an editor window; not as standalone or packaged (at least that’s not what I would need and had not tried yet). But the “inner” BP is only controllable in-editor, not on runtime.
And I´m not packaging it. Or am I missing something relevant in that thread? I will test it as packaged soon, but I would prefer - if possible at all - that it works in the UE Editor as “Play in Editor” or “in separate window”.
Edit: I already had typed -RCWebControlEnable and -RCWebInterfaceEnable in the console some time ago as I informed me about RC, but I then had not had that specific problem…
OK if anyone stumbles upon such a similar issue…
I missed one crucial thing: I did not wire the nodes (like Set Actor Transform) to Event Tick but just to Event Begin Play.
Which is like an obvious thing since the variables change anytime during play and not only at the beginning. Therefore the node (Transform e.g.) must check this variable every tick to watch for a change…
I am struggling with the same issue. I can’t make my variables (updated via Remote Control HTTP API) readable without restarting the game. Can you show your BP?