发布到iPhone时不支持DXT1压缩纹理

时间:2019-06-20 15:23:30

标签: unity3d compression textures

请帮助我 unity 2019.3.0a5中的此错误任何解决方案unity developer 调试日志:

  

发布到iPhone时不支持DXT1压缩纹理   资源/ unity_builtin_extra包含在场景中:0 Unity   0x000000010f08213f _Z13GetStacktracei + 95 1 Unity 0x0000000111849a54   _Z17DebugStringToFileRK21DebugStringToFileData + 356 2 Unity 0x000000010e61d572   _Z23VerifyFeatureDeploymentP6Object19BuildTargetPlatform + 2082 3 Unity 0x000000010e613209   _Z16VerifyDeploymentP6Object19BuildTargetPlatform + 1273 4 Unity 0x000000010ef2fdcc   _ZN17PersistentManager9WriteFileERKN4core12basic_stringIcNS0_20StringStorageDefaultIcEEEEiPK9WriteDataiRK15GlobalBuildDataPF23VerifyWriteObjectResultP6Object19BuildTargetPlatformE20BuildTargetSelection24TransferInstructionFlagsR16WriteInformationPK18InstanceIDResolverNS_9   + 3084 5 Unity 0x000000010ef2f093 _ZN17PersistentManager9WriteFileERKN4core12basic_stringIcNS0_20StringStorageDefaultIcEEEEiPK9WriteDataiRK15GlobalBuildDataPF23VerifyWriteObjectResultP6Object19BuildTargetPlatformE20BuildTargetSelection24TransferInstructionFlagsPK18InstanceIDRe   + 179 6统一0x000000010e61235b _Z20WriteSharedAssetFileiRKN4core12basic_stringIcNS_20StringStorageDefaultIcEEEERKNSt3__13mapIi10BuildAssetNS6_4lessIiEENS6_9allocatorINS6_4pairIKiS8_EEEEEERK19BuildUsageTagGlobal20BuildTargetSelectionPFviR31LocalSerializedObjectIdentifierPvE24TransferInstructionFlagsRNS6_3setI12ResourceFileNS9_ISU_EENSB_ISU_EEEER10vector_mapIi26SerializedObjectIdentifierSA_NSB_INSC_IiS10_EEEEE   + 1099 7统一0x000000010e613597 _Z23CompileSharedAssetsFileiRKN4core12basic_stringIcNS_20StringStorageDefaultIcEEEES5_RKNSt3__13mapIi10BuildAssetNS6_4lessIiEENS6_9allocatorINS6_4pairIKiS8_EEEEEERK19BuildUsageTagGlobalRK20BuildTargetSelection24TransferInstructionFlagsRNS6_3setI12ResourceFileNS9_ISR_EENSB_ISR_EEEER10vector_mapIi26SerializedObjectIdentifierSA_NSB_INSC_IiSX_EEEEERN14BuildReporting11BuildReportE   + 135 8统一0x000000010e62b966 _ZL15BuildPlayerData24BuildTargetPlatformGroup19BuildTargetPlatform18BuildPlayerOptionsRK16BuildCompressionNSt3__16vectorIN4core12basic_stringIcNS7_20StringStorageDefaultIcEEEENS5_9allocatorISB_EEEEP20AssetBundleBuildDataRNS6_I17EditorSceneBackup13stl_allocatorISH_L18MemLabelIdentifier116ELi16EEEE18ScriptingObjectPtr8Vector2fRN14BuildReporting11BuildReportERKSB_PNSP_20BuiltAssetBundleInfoEST_   + 12038 9 Unity 0x000000010e600753 _Z13DoBuildPlayerRK16BuildPlayerSetupRNSt3__16vectorI17EditorSceneBackup13stl_allocatorIS4_L18MemLabelIdentifier116ELi16EEEEN4core12basic_stringIcNSA_20StringStorageDefaultIcEEEENS3_ISE_NSER_SNS_SetERBES_BIM_BEST_BIM_Easy_NSER_ESI_Report2B   + 3587 10 Unity 0x000000010e605196 _Z11BuildPlayerRK16BuildPlayerSetupRN14BuildReporting11BuildReportE + 4102 11 Unity 0x000000010f74fa94   _Z47BuildPipeline_CUSTOM_BuildPlayerInternalNoCheckP36ScriptingBackendNativeArrayPtrOpaqueP37ScriptingBackendNativeStringPtrOpaqueS2_24BuildTargetPlatformGroup19BuildTargetPlatform18BuildPlayerOptionsh   + 1204 12(Mono JIT代码)(包装器为本地管理)UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck   (字符串[],字符串,字符串,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,UnityEditor.BuildOptions,布尔)   13(Mono JIT代码)[BuildPlayerWindowBuildMethods.cs:170]   UnityEditor.BuildPlayerWindow / DefaultBuildMethods:BuildPlayer   (UnityEditor.BuildPlayerOptions)14(单声道JIT代码)   [BuildPlayerWindowBuildMethods.cs:96]   UnityEditor.BuildPlayerWindow:CallBuildMethods   (bool,UnityEditor.BuildOptions)15(Mono JIT代码)   [BuildPlayerWindow.cs:913]   UnityEditor.BuildPlayerWindow:GUIBuildButtons   (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform)

5 个答案:

答案 0 :(得分:3)

此消息表示您正在使用的纹理已设置为使用DXT1压缩,在您的情况下为场景0。 Resources / unity_builtin_extra是内置纹理,例如具有该压缩设置的Default-Checker-Gray(并且您无法更改)。因此,您不能将其附加到正在使用或也未使用的任何材料上(不能在任何Resources文件夹中添加它)。

答案 1 :(得分:0)

据我了解,这是Unity中的一个错误,有时会发生,很多人都报告了它。

对某些人有用的修补程序之一是:“右键单击Project Assets文件夹并重新导入全部。”

以下是Unity网站Link to Issue上报告的此问题。如果上面的修复对您不起作用,则在注释中还有一些其他解决方法。

答案 2 :(得分:0)

同样的问题。但。通过从Assets文件夹中删除我的Resources文件夹来解决此问题。刚刚将所有子文件夹移至Assets,然后构建成功!

答案 3 :(得分:0)

找到材料usind Default-Checker-Gray并将其反照率更改为Default-Checker或其他。 这解决了我的问题。

答案 4 :(得分:0)

不要使用默认图标或初始图像。 在构建设置 Unity 中替换它们