Live Update Refresh Assets In Play Mode - 2.02.20

Thanks for the detailed repro steps - I’ve been able to reproduce the issue on my end, and I’ve passed it along to the development team for further investigation.

As a workaround, you can use the following script to iterate over all of your assets, and do the scripting API equivalent of executing Right Click → Refresh Selected Assets:

studio.menu.addMenuItem({
    name: "Force Refresh All Assets",
    keySequence: "Ctrl+R",
    execute: function() {
        console.log("Forcibly refreshing all assets");
        studio.project.workspace.masterAssetFolder.assets.forEach(function(asset) {
		    if (asset.isOfExactType("AudioFile")) {
			    asset.refreshAudio();
		    }
	    });
    }
});

Add it to a .js file in a Studio script directory (either in your Studio install’s “./scripts” directory, or in a “Scripts” folder in your project’s directory. It’s set up to execute on Ctrl+R, so if you unbind the existing shortcut, you should be able to follow the same workflow you’ve been using already.

1 Like