Hi, it seems like the editor’s import map issue is back.
Launched like this:

Can anyone please verify if something went wrong after the previous fixes? 10 days ago (as of my previous post) it appeared to be working ok
Hi, it seems like the editor’s import map issue is back.
Launched like this:

Can anyone please verify if something went wrong after the previous fixes? 10 days ago (as of my previous post) it appeared to be working ok
Hi could you send me a repro of the issue? Nothing on our side has been changed since the last fix and I am unable to repro it myself.
Kris
I think I’ve been able to repro it. Here is the link:
https://playcanvas.com/project/1470429/overview/import-bug-repro
It is just a project that moves the cube up and down with tween and fetches and console logs, and stores/retrieves some device data in a zustand store. Note that I was able to make it work with direct references for a while until the bug triggered.
I think we can call it resolved:
In the repro, I noticed that the bug is caused by an extra comma in Import Map, which causes an error, making it so that the entire Import Map doesn’t get loaded. In my main project I could not find such error, so I ended up deleting the entire Import Map file and pasting its contents into a new file. This seemed to resolve the issue.
Note that when unlinking and relinking the same file in the editor settings did not fix the issue. Also note that I moved the Import Map file into the Scripts folder and corrected each path, but I did not find anything wrong with the paths or file structure.
So the issue was probably related to some kind of error within the Import Map file contents, or with the process of loading the file itself.