If it's invisible after assigning a shader, it's a hint that your shader assignment works. You now just have to find out why your shader output is different than you expect.
The most likely reason is that a material setting that your shader expects is not available - for instance, using a material skin that does not exist at runtime.