How i can execute js functions in UE5? I tried to use “Web Browser Widget” and call “execute javascript”, but i still cant pass context for js, get function returns, and #include WebJSFunction.h, SWebBrowser.h or others from C++.
Hello, have you found any solution? i am also currently on lookout for a solution. There is a plugin unreal.js but its still not updated to 5.4 yet
(post deleted by author)
Hello! Sadly, no( Only way that i found - use V8 engine by Google, but it’s hard to find worked Monolith Lib, that hasn’t memory problem. As variant, you can take V8 libs from Unreal.js, they have problem, but you can solve it with EngineSubsystem + WorldSubsystem and clearing context (you can initiate V8 once per UE start, no way to correct deinit V8) on WorldSubsystem end play.
1 Like