Cannot change the texture of a model loaded from the Internet

https://playcanvas.com/editor/code/972674?tabs=98847239

render.material is only used if the render component is using a primitive shape. RenderComponent | PlayCanvas API Reference

The entity created from the GLB asset will be using type asset as it’s a mesh.

This is how I would load and apply the textures to the material of the GLB meshes

https://playcanvas.com/project/974105/overview/f-loadmodelurl