Hello, We have encountered a problem with the new CRUD API for SpriteAtlases, the following code will not work at all, it never saves, unless I am missing a step. However it is hard to tell because the Scripting API Docs do not even include this information yet it seems. Code (CSharp): TextureImporterPlatformSettings iOS = atlas.GetPlatformSettings(BuildTarget.iOS.ToString()); iOS.overridden = true; iOS.format = TextureImporterFormat.ETC2_RGBA8; atlas.SetPlatformSettings(iOS);
You should use "iPhone" instead of "iOS" when get and set platform settings. Although "iPhone" is marked as deprecated and my IDE suggests me to use "iOS", which just doesn't even work.