how to set Max texture size
I fix it
#if UNITY_3_5
int maxSize = 4096;
#else
//int maxSize = SystemInfo.maxTextureSize;
int maxSize= 2048;
#endif
#if UNITY_ANDROID || UNITY_IPHONE
if (PlayerSettings.targetGlesGraphics == TargetGlesGraphics.OpenGLES_1_x)
{
maxSize = Mathf.Min(maxSize, 1024);
}
else
{
maxSize = Mathf.Min(maxSize, NGUISettings.allow4096 ? 4096 : 2048);
}
#endif
maxSize= 2048;