TurboWarp/extensions

When loading a project from URL using asset managers, cloud variables don't work.

snowboyz0825 opened this issue · 2 comments

Again, sorry for the frequent issues, but if I don't say it no one else will.

If you load a project using asset manager that uses cloud variables, they will not connect to the server. The best way to demonstrate this is to have two computers running a packaged project that loads the project from some url. Change a cloud variable (somehow, I'd use sliders) and it won't change on both. If you package the project individually then they will work, but otherwise they won't.

This sounds pointless, but it's actually helpful if you're trying to make a packaged project auto update. Using a text file wherever you host it (github) with a version, you can add check for updates by seeing if the text file has a newer number on it (personally instead of versions I'd use days since 2000 because it's funny but you do you) it adds the project to the local storage extension along with the version, then load that url. If it doesn't have a newer version, you load it from local storage.

Normally you could just package the project individually, but for a project you'd like to auto update, a feature especially helpful for online projects that you'd want to all be the same, it's frustrating

Do you know if this happens with the similar block in ShovelUtils as well?

It does the same thing (seemingly)