Launch the Unreal Engine v4.27
Select your project or create a new one
In the Level Editor, go to the Plugins → Built-In → Messaging.
Enable the Remote Control API plug-in as shown on the image above
Restart the Unreal Editor
Go to the Content Browser
Right-click and go to Miscellaneous, and select the Remote Control Preset
Drag and drop your Remote Control Preset Actor into your Level
Remote Control Preset Actor will be invisible inside the Level.
Go to the Content Browser, double click on the Remote Control Preset you created.
Go to the Details panel, click on the 👁 eye icon of a property you want to expose to RealityHub.
Select the Movable option if you want your Actor to move
The parameters you defined are now ready to be exposed to the RealityHub.
If you expose a boolean data type, you must add “_boolean” after the parameter’s name, as shown in the image above.
Working in the Editor Mode requires you to change the Port number of your Host to 30020, which is the UE Remote Control WebSocket API Port.
Please keep that in mind, if Unreal Engine can't listen to the port you defined, it may crash.
If you Play your scene in the Editor Mode, RealityHub automatically recognizes your Unreal Engine scene details and reflects your exposed parameters as UState. UState