Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GWorld.GetRandomReachablePointInRadius is not a function #13

Open
dalou opened this issue Dec 15, 2020 · 1 comment
Open

GWorld.GetRandomReachablePointInRadius is not a function #13

dalou opened this issue Dec 15, 2020 · 1 comment

Comments

@dalou
Copy link

dalou commented Dec 15, 2020

Unreal Engine: Version: 4.25.1-13594126+++UE4+Release-4.25
Unreal.js Plugin : installed from marketplace (the manual compilation doesn't work at all)
Node : v15.4.0

After one little correction for nodejs latest
let cmd = -e console.log([...process.argv[0].replace(/\\/g,'/').split('/').slice(0,-1),'node_modules/npm/bin/npm-cli.js'].join('/'))

I have got an error on GetRandomReachablePointInRadius from GWorld

Warning: Undefined required script './reactProdInvariant'
Error: TypeError: GWorld.GetRandomReachablePointInRadius is not a function
at wander (file:///d:/EU4Projects/JavascriptTest/Content/Scripts/demos/dummy-ai.js:29:26)
at random (file:///d:/EU4Projects/JavascriptTest/Content/Scripts/demos/dummy-ai.js:35:15)
at loop (file:///d:/EU4Projects/JavascriptTest/Content/Scripts/demos/dummy-ai.js:99:19)
at async behaviortree (file:///d:/EU4Projects/JavascriptTest/Content/Scripts/demos/dummy-ai.js:111:9)
at async mixamo (file:///d:/EU4Projects/JavascriptTest/Content/Scripts/demos/dummy-ai.js:152:5)
at async Promise.all (index 1)
at async demo (file:///d:/EU4Projects/JavascriptTest/Content/Scripts/demos/demo-ai.js:15:5)

@dalou
Copy link
Author

dalou commented Dec 15, 2020

Notice that others Cables, Rest, Deep learning and React works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant