I load a material from the ResourceCache, then I Clone() it and modify a shader parameter in it.
I keep references to both instances in my class and use them on my models depending on some state.
I can use the original material (loaded from the ResourceCache), but the cloned instance I can only use one time.
When I try to set it on my model a second time my app crashes completely (giving me a stack trace).
What can the problem be? Isn't Clone() supposed to work?
I'm using version 1.1.120.