Closed LeXXik closed 6 months ago
actual error it returns 'Asset was modified by another user, please pull the latest version'
thanks for reporting this, we will check it this week.
I get the same error after saving a script-file in VS Code, and then pressing the recompile button on a entity with that script on in PlayCanvas editor. No sure if it's the same problem as you have. (uses this when adding new attributes)
But theres a workaround:
Now I can continue writing my code and save without a problem.
Created a blank project, successfully added as a folder to VSCode, created a script that also appeared in Editor.
Added a line of code and saved - the change propagated to the script in Editor. Attached the script to an entity.
After that any change to script fails to save with a bad request error. Let me know, if there are some additional logs I could provide.