I have recently upgraded Unity from 3.5.0 to 4.1.2
I had script changing uv for frame animation, like:
Vecto2[] uvs = new Vector2[] {
new Vector2(0, 0),
new Vector2(0.5f, 0),
new Vector2(0, 0.5f),
new Vector2(0.5f, 0.5f)
}
mesh.uv = uvs;
sure my original code are variables instead of 0 and 0.5.
After I upgraded to 4.1.2 all textures displayed are abnormal, like misplacing uv coordinates. Anyone have ideas?
Maybe you just had to recompile your code? Often when i have a strange code related problem I hit Ctrl+F8 (In case you're using monodevelop, which re-compiles every script in your project I think) and see if that helps.
– IronFurball