Uploading folders in Playcanvas

Hi Everyone.

I am looking for a way to upload folders as assets in my project. Is there any primitive way? Or can I do it by creating a script or something?

Folders don’t really exist in the assets panel (folders are just another asset). You can use the REST API to do this: REST API | Learn PlayCanvas or try playcanvas-sync https://github.com/playcanvas/playcanvas-sync and use the non text mode: https://github.com/playcanvas/playcanvas-sync#using-pcsync-for-non-text-files

1 Like