you need to copy Engine\Plugins\VirtualProduction\RemoteControlWebInterface\WebApp folder from ue5 to your packaged game under the same folder. you need to create all those sub-folders as well. Then you need to drag your preset into you world. Finally add two command to your exe and the web-app should work
2 Likes
Would you kindly give a few more details, please?
I’ve tried this but still no scuccess.
How is you ‘Remote ConterollWeb Intrerface bind Address’ configured?
Is Force WebApp turned on?
Are the command lines ‘-RCWebControlEnable’ and ‘-RCWebInterfaceEnable’?
If so, how to replicate the same thing for android builds?
Thanks!
1 Like
Wow Thank you so much, been looking for this fix for years.
1 Like
Thanks for the hint! I was going crazy!
In my case, I heavily edited the RemoteControlWebInterface plugin, so, instead of copying the folder manually in the build folder, I have also edited the build.cs file of the plugin to make that automatic during the packaging (with logs to identify if it’s working or not):
using UnrealBuildTool;
using System.IO; // New include, necessary to check if the directory exists
public class RemoteControlWebInterface: ModuleRules {
public RemoteControlWebInterface(ReadOnlyTargetRules Target): base(Target) {
ShortName = "RCWebIntf";
/// START OF ADDED CODE ///
string WebAppPath = Path.Combine(PluginDirectory, "WebApp");
if (Directory.Exists(WebAppPath)) {
RuntimeDependencies.Add(Path.Combine(WebAppPath, "..."));
System.Console.WriteLine("RemoteControlWebInterface: Staging WebApp folder contents for packaging from: " + WebAppPath);
} else {
System.Console.WriteLine("RemoteControlWebInterface: WARNING - WebApp folder not found at: " + WebAppPath);
}
/// END OF ADDED CODE ///
PublicDependencyModuleNames.AddRange();
PrivateDependencyModuleNames.AddRange();
if (Target.Type == TargetType.Editor) {
PrivateDependencyModuleNames.AddRange();
}
}
}
1 Like