Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor error when deleting mjs script #1215

Open
LeXXik opened this issue Oct 24, 2024 · 3 comments
Open

Editor error when deleting mjs script #1215

LeXXik opened this issue Oct 24, 2024 · 3 comments
Assignees
Labels
area: assets bug Something isn't working

Comments

@LeXXik
Copy link

LeXXik commented Oct 24, 2024

Steps:

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

image

@LeXXik
Copy link
Author

LeXXik commented Oct 24, 2024

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
Copy link
Author

LeXXik commented Oct 24, 2024

@marklundin added you to project:

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

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

@marklundin
Copy link
Member

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

@willeastcott willeastcott added area: assets bug Something isn't working labels Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: assets bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants