构建ios工程的时候报错
DXT1 compressed textures are not supported when publishing to iPhone
Packages/com.unity.ads@1.0.7/Editor/Resources/Editor/landscape.jpg
Included from scene:
UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions)
BuildIOSPlayerTask:Next() (at Assets/Editor/BuildProject.cs:483)
BuildTask:DoNext() (at Assets/Editor/BuildProject.cs:251)
BuildProject:Update() (at Assets/Editor/BuildProject.cs:140)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
解决办法:
在console中选中红色报错的log行.
此时unity的project窗口会出现报错的两张jpg在项目中的位置
选中两张jpg, 右键reimport.
网友评论