Change the texture of a spatial while it is visible

I have a spatial that is attached to the Root Node and I want to change the texture on it.



I have changed the texture on the material the spatial uses and the the spatial to have use the material, however the new texture does not show up until I detach and attach the spatial again.



Will I need to detach and attach each spatial again when I change textures or am I missing something?

Or is there a way to change the texture on the fly and have it apply to an attached spatial?



Thank you for your time.

Something else is wrong. This should definitely work.

Ill work up a test case to post.

My test case is working properly, I will recheck my application code. Thank you for your response.