cannot convert from 'UnityEngine.Texture' to 'UnityEngine.Texture2D' code example Example: texture to texture 2d unity Texture2D tex2D = (Texture2D)PaintedTexture;