Scripting:how can I import the asset folder by script?

var audiofile = studio.project.workspace.masterAssetFolder.getAsset(“sfx_char_skill01_blast_r01.wav”)
audiofile.setAssetPath(“sfx/sfx_char_skill01_blast_r01.wav”)

I used the codes to set audiofile folder, but the folder shows #unimported, how can I import the folder by script?
image

Hi,

Apologies for the delayed response.

Currently, we do not have the functionality to create a folder via a script that can be imported into the asset browser. I will suggest this to our development team to look into further.

Is the issue fixed?

Hi,

Unfortunately not. I have bumped the task.

Once there are updates I will post them here.

1 Like