Editor error when deleting mjs script
Steps:
- In Editor, create an mjs script, e.g.
test.mjs. - Select it and delete.
- Error shows in console:
That was in a blank project project, but now can't repro... Not sure what the reason was.
Edit: That was from the Code Editor console. Also, it needs more scripts. Something with parsing. I copy pasted some scripts to blank project and get a bunch of errors:
@marklundin added you to project:
https://playcanvas.com/project/1268782/overview/lxk
E.g. selecting game-logic.mjs, produces errors in console:
This looks like it's related to the autocompletion intellisense in the code-editor. Will have a look
Closing for now, as I think this has been previously fixed, and I can no longer replicate. Please open again if you can reproduce