editor icon indicating copy to clipboard operation
editor copied to clipboard

Editor error when deleting mjs script

Open LeXXik opened this issue 1 year ago • 3 comments

Steps:

  1. In Editor, create an mjs script, e.g. test.mjs.
  2. Select it and delete.
  3. Error shows in console:

image

LeXXik avatar Oct 24 '24 12:10 LeXXik

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:

image

LeXXik avatar Oct 24 '24 12:10 LeXXik

@marklundin added you to project:

https://playcanvas.com/project/1268782/overview/lxk

E.g. selecting game-logic.mjs, produces errors in console: image

LeXXik avatar Oct 24 '24 12:10 LeXXik

This looks like it's related to the autocompletion intellisense in the code-editor. Will have a look

marklundin avatar Oct 24 '24 12:10 marklundin

Closing for now, as I think this has been previously fixed, and I can no longer replicate. Please open again if you can reproduce

marklundin avatar Jan 08 '25 10:01 marklundin