Open LeXXik opened 8 months ago
Probably related: #1079
Thanks, urgently investigating.
Some notes:
Thanks for flagging this @LeXXik, we'll be pushing a fix for this in the next release
Fixed and deployed
This is happening again on 1.74.0. Parsing doesn't help
Yes, if you create the script in the Code Editor, it does not auto-parse. But if you create the script in the main Editor's Assets panel, it does auto-parse. @marklundin, please take a look.
Also, due to delay of scripts parsing (it takes time from the moment of creating script asset till it is parsed), please add progress (like assets with pipeline jobs) onto the asset to indicate it is awaiting parsing finish. And select an asset immediately, not with delay. As it is very annoying when selecting an entity to add script, then creating a script and 2-4 seconds after, Editor changes selection, while you already in the middle of something else.
This was working, but looks like the parseScriptCallback
was removed, so no new scripts are parsed in the code-editor. @kpal81xd was this supposed to be set elsewhere?
Expected: the script is shown in the list of available scripts Actual: the script is missing
No errors in console.
https://github.com/playcanvas/editor/assets/5677782/07bbc51d-650b-4a23-acc3-0c4d06f6ccfa