Search Issue Tracker

Fixed in 2018.3.5f1

Votes

15

Found in

2018.2.16f1

2018.3.0b10

2019.1.0a5

2019.1.0a7

Issue ID

1095565

Regression

Yes

"ETC1 compressed textures are not supported when publishing to Standalone" error on build after switching platform from Android

Assets Management

-

Steps to reproduce:
1. Open attached "tdd-asteroids.zip" Unity project
2. Switch platform from Android to Standalone in Build Settings
3. Build project

Expected results: project builds successfully
Actual results: building fails with error "ETC1 compressed textures are not supported when publishing to Standalone"

Reproducible with: 2019.1.0a7, 2019.1.0a5, 2018.3.0b12, 2018.3.0b10, 2018.2.19f1, 2018.2.16f1 (39a4ac3d51f6)
Not reproducible with: 2019.1.0a4, 2018.3.0b9, 2018.2.16f1 (26a3312b6d5d), 2017.4.16f1
Regressed in: 2019.1.0a5, 2018.3.0b10, 2018.2.16f1 (39a4ac3d51f6)

Note: Upgrading project with platform set to Android from 2017.4 to 2019.1 and switching to Standalone platform in editor causes the builds to fail due to this error. Deleting the Library folder fixes the issue.

Comments (10)

  1. 8b94b9228dc7bf8ee4bac59a23d6cccc?d=mm

    adamschule85

    Aug 07, 2019 07:40

    I like this site it’s a master piece! Glad I noticed this on google. https://games.lol/applist/keyword/scooterhut-d

  2. 77b2b902d84e8da0624b6bc5a8e31d62?d=mm

    asgardgodsgaming

    Aug 01, 2019 16:28

    Clearing the Cache should fix

  3. 15c37f0ffcd021abe190c3d45be04a93?d=mm

    unity_Jo6zuYKWQcetFQ

    Jun 20, 2019 14:36

    hi,
    plaise help me same error but in unity 2019.3.0a5

    Debug log :

    DXT1 compressed textures are not supported when publishing to iPhone
    Resources/unity_builtin_extra
    Included from scene:
    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_9LockFlagsE + 3084
    5 Unity 0x000000010ef2f093 _ZN17PersistentManager9WriteFileERKN4core12basic_stringIcNS0_20StringStorageDefaultIcEEEEiPK9WriteDataiRK15GlobalBuildDataPF23VerifyWriteObjectResultP6Object19BuildTargetPlatformE20BuildTargetSelection24TransferInstructionFlagsPK18InstanceIDResolverNS_9LockFlagsE + 179
    6 Unity 0x000000010e61235b _Z20WriteSharedAssetFileiRKN4core12basic_stringIcNS_20StringStorageDefaultIcEEEERKNSt3__13mapIi10BuildAssetNS6_4lessIiEENS6_9allocatorINS6_4pairIKiS8_EEEEEERK19BuildUsageTagGlobal20BuildTargetSelectionPFviR31LocalSerializedObjectIdentifierPvE24TransferInstructionFlagsRNS6_3setI12ResourceFileNS9_ISU_EENSB_ISU_EEEER10vector_mapIi26SerializedObjectIdentifierSA_NSB_INSC_IiS10_EEEEE + 1099
    7 Unity 0x000000010e613597 _Z23CompileSharedAssetsFileiRKN4core12basic_stringIcNS_20StringStorageDefaultIcEEEES5_RKNSt3__13mapIi10BuildAssetNS6_4lessIiEENS6_9allocatorINS6_4pairIKiS8_EEEEEERK19BuildUsageTagGlobalRK20BuildTargetSelection24TransferInstructionFlagsRNS6_3setI12ResourceFileNS9_ISR_EENSB_ISR_EEEER10vector_mapIi26SerializedObjectIdentifierSA_NSB_INSC_IiSX_EEEEERN14BuildReporting11BuildReportE + 135
    8 Unity 0x000000010e62b966 _ZL15BuildPlayerData24BuildTargetPlatformGroup19BuildTargetPlatform18BuildPlayerOptionsRK16BuildCompressionNSt3__16vectorIN4core12basic_stringIcNS7_20StringStorageDefaultIcEEEENS5_9allocatorISB_EEEEP20AssetBundleBuildDataRNS6_I17EditorSceneBackup13stl_allocatorISH_L18MemLabelIdentifier116ELi16EEEE18ScriptingObjectPtr8Vector2fRN14BuildReporting11BuildReportERKSB_PNSP_20BuiltAssetBundleInfoEST_ + 12038
    9 Unity 0x000000010e600753 _Z13DoBuildPlayerRK16BuildPlayerSetupRNSt3__16vectorI17EditorSceneBackup13stl_allocatorIS4_L18MemLabelIdentifier116ELi16EEEEN4core12basic_stringIcNSA_20StringStorageDefaultIcEEEENS3_ISE_NS2_9allocatorISE_EEEEbRN14BuildReporting11BuildReportEPNSI_20BuiltAssetBundleInfoERKSE_ + 3587
    10 Unity 0x000000010e605196 _Z11BuildPlayerRK16BuildPlayerSetupRN14BuildReporting11BuildReportE + 4102
    11 Unity 0x000000010f74fa94 _Z47BuildPipeline_CUSTOM_BuildPlayerInternalNoCheckP36ScriptingBackendNativeArrayPtrOpaqueP37ScriptingBackendNativeStringPtrOpaqueS2_24BuildTargetPlatformGroup19BuildTargetPlatform18BuildPlayerOptionsh + 1204
    12 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,UnityEditor.BuildOptions,bool)
    13 (Mono JIT Code) [BuildPlayerWindowBuildMethods.cs:170] UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
    14 (Mono JIT Code) [BuildPlayerWindowBuildMethods.cs:96] UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
    15 (Mono JIT Code) [BuildPlayerWindow.cs:913] UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform)

  4. 5198744cd329b6dfdb9e39b4f9794cd1?d=mm

    peterpunk

    Jun 20, 2019 10:05

    Yes, this is not solved (tried 2018.4.2 and even 2019.1.7, 2018.4.0).

  5. Abf7b4a0795169d2a4f65d0f9529adbc?d=mm

    Izitmee

    Jun 20, 2019 09:55

    Marked as fixed but not fixed: happens in the latest Unity 2018.4.2, when switching build platform (not just to Android but to anything else than the one it was set to after deleting the Library). Having to delete and rebuild the library each time you want to compile for a different platform is killing us all.

  6. 151828805bce9a8df50f8bd710c2b102?d=mm

    BojanCup

    Mar 13, 2019 13:14

    +1 Here.... Its real pain @Unity!

  7. Eaef1d6ae97a3c5b6d5b2774cdf9a1bf?d=mm

    tlbon

    Feb 12, 2019 11:08

    Same issue here. 2018.3.5f1

  8. 7d80a1bfaa964bb43103d8001c597a88?d=mm

    dmax1

    Feb 06, 2019 07:52

    Also occurs on 2018.3.2f

  9. 6a634a20fa44d35ec673b3727e3e4956?d=mm

    Sneeza

    Jan 11, 2019 10:34

    I'm having this issue in 2018.2.19f1 as well as 2019.1, but my issue solves temporarily by deleting the Library folder and almost immediately returns when swapping platforms. This is causing me serious headaches on a daily basis when I have to swap platforms to make builds for everything we support and forces me to re-import all of our textures manually which can take hours on my laptop.

    This is a serious regression that started occurring when I upgraded our project to 2018 and needs to be addressed. If anyone has any ideas on a more permanent fix for this issue that would be incredible!

  10. 0273cd62d32d7cfba0d3dcb7307a3f0e?d=mm

    Markzs17

    Dec 01, 2018 22:31

    Same problem here with Unity 2018.2.17f1. Got it reproducible after switching back to Linux build settings after building the game for Android.
    Got it solved by deleting the Library as suggested, thanks for the info!

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.