Setting the MeshPart.TextureId doesn't load the Texture

I am trying to create a barbershop for a town/city game, and I was adding hair color customization.

I decided to use colored textures to change the color of the Accessory mesh part, but when I set the MeshPart.TextureId the texture seems to be not loaded in. I’ve already tried using ContentProvider, and googling the issue (couldn’t find any relevant topics).

In this image, you can see that the TextureId is there, but the hair still has no texture ( yes I’m sure it’s the right texture don’t ask )

The roblox.com/asset/?id= endpoint has been replaced and there is a new version. Please use the updated endpoint instead.

I believe it is assetdelivery.roblox.com/v1/?id= but I don’t know

Thank you very much for replying, I will try this one out!

I figured out the problem. The problem was sort of because of the website URL, but it was due to that each texture had a different ID for different URL’s. I am not sure how or why this is a thing, but to solve this I manually inserted the ID without a website URL, then copy + pasted the loaded in website URL and the new ID.
Thank you for replying though!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.