I’m getting a ton of errors in the console that say “Failed to resolve import X from “com.needle.engine@2.67.8-pre.1\package~\src\engine\engine_web_api.ts?v=128537b4”. Does the file exist?”
The file exists if I go to that path but it is called xyz.ts and not xyz.ts?v=128537b4.
I’m getting the same error with the same exact values(the ?v=128537b4)
Try restarting your local server. The ?v= is something vite appends. It shouldnt be a problem but maybe the file didnt exist when you started the server?
Can you list what you did before playing the scene? Did you play any other scene? I would like the better handle those errors (or ideally find a way to avoid them altogether) but I’m not sure how to reproduce it
I just did a clean install (ALT + install ) and it tells me the same. I tried another sample and that seems to work, I will try to reinstall the samples. Also when I open the vsc workspace for that scene it shows me this folder as if it was missing
Thats smart export - if the scene in Unity didnt change and the glb exists it wont export again. You can toggle anything in your scene (to make it dirty) and save the scene
It’s a dependency in the package. Either vscode is not up to date with the files on your system (sometimes that happens) or it wasnt installed by npm for some reason (you can check node_modules/flatbuffers)