I am using an editor to make changes directly on the asset folders inside a model (material, textures) etc. Using the PlayCanvas engine directly.
Everything is working smoothly as the json structure is quite readable and adaptable.
The only issue is the following:
When I directly modify a texture inside a subfolder, using a server php script, I can't find a way to reload the material/asset of the model to display the new texture.
Even if I reload the page, as I final solution, the model displays the cached image file. I try putting a timestamp on the asset loadFromUrl function, but that only reloads the json from scratch.
Is there a way to explicitly tell PlayCanvas to reload an assets or all assets from scratch?
Or any other ideas on how to fight the browser cache.
Thank you in advance,