Can we use setTexture in local mode
Trying to create gun with some texture switching, needs to run in local.
I have a script that has no issue switching between images when it is global script, when I switch to local script and change owner to player, it no longer works and throws, Exception encountered running bridge method 'SetMeshTexture': Failed to set mesh texture. Is there a way to use setTexture in local mode, or do we have to use a server script and then have local script send to server script?
Tested further: Made script that when I pick up, it set owner to player and switches through textures and when put down it switchers server to owner. Test server works, client doesn't, no matter how many times I go back and forth. setTexture requires textureAsset, so doesn't seem related to using the UI loading using ImageSource.fromTextureAsset(asset).
There is anoptions — Indicates the players to apply the texture for. Which is confusing, does that mean all instances of the mesh will look one way to some players and another way for others?
