Shader problem. Difference between Run/Build

Hello everyone! I’ve got some stupid problem right here. I have made some script that changes the car material using GUI. When I try to change it into the Editor everything looks fine, but when I’m build my project and try to change it there, I’ve got some very bad result, material appears very white. Can anyone tell me why this may happen? Thanks!

Oh, I found the answer. It was cause because of “Optimize Mesh Data” option. Thanks!