shader can't remember what materials it has

hey,

i got some little problem with this shader i got from the wiki (Shield Shader)

every time i put some materials on the material and i save it, restart or switch to another program and back it removes the textures on the material.
any idea what the problem is?
(it gives no errors or anything)

ok i found it…
i was setting textures on the material of the object self.
when i set the textures on the material self it worked.
weird… but it works!

greetz

That’s strange. The version of the material shown in the GameObject inspector should just be an alias to the original—not a copy. All changes you make to the alias should be reflected in the material asset.