美文网首页Unity
[Build]DXT1 compressed textures

[Build]DXT1 compressed textures

作者: 偏分武士 | 来源:发表于2018-09-03 17:09 被阅读0次

构建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.

相关文章

网友评论

    本文标题:[Build]DXT1 compressed textures

    本文链接:https://www.haomeiwen.com/subject/zjriwftx.html