Yes, the quest browser is using the desktop localhost url. I’ll give a try to your code to see how it works here, will keep you posted, thanks!
by user 939271426349862963
Yes, the quest browser is using the desktop localhost url. I’ll give a try to your code to see how it works here, will keep you posted, thanks!
by user 939271426349862963
do you know what type should I import to avoid these issues?
by user 939271426349862963
delay is in engine:
import { delay } from "@needle-tools/engine";
inspired by Task.delay()
now the webxr displays black screen on both desktop and quest browser
by user 939271426349862963
Uncaught SyntaxError: ambiguous indirect export: delay
by user 939271426349862963
can you show your script?
im importing just like that
import { Behaviour, GameObject, serializable, delay } from “@needle-tools/engine”;
by user 939271426349862963
the full path would be @needle-tools/engine/src/engine/engine_utils
which version are you using? does adding .ts
fix it?
ah no not delay
import { delay } from @needle-tools/engine/src/engine/engine_utils
if I import this one, the webxr runs, but it displays an error message that says that delay is not a function
by user 939271426349862963
import { delay } from “@needle-tools/engine/node_modules/core-js/library/fn/delay.js”;
by user 939271426349862963
That’s definitely wrong. Which needle-engine version are you on? Can you try restarting vscode?
the paths above are definitely right. Depending on your version with or without /src/
but src would be right if you’re not 10 versions or so behind
how can I tell what needle engine version I have installed?
by user 939271426349862963