Search Issue Tracker

Fixed in 2018.1.X

Fixed in 2017.4.X

Votes

6

Found in

2017.3.0p3

2017.3.0f3

Issue ID

991204

Regression

Yes

[iOS] Build fails with an error "DXT1 compressed textures are not supported when publishing to iPhone"

Mobile

-

Reproduction Steps:
1. Open User's project
2. Build to iOS
3. Notice that build failed

Errors:
DXT1 compressed textures are not supported when publishing to iPhone
Packages/com.unity.ads@2.0.3/Editor/Resources/Editor/landscape.jpg
Included from scene:
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

DXT1 compressed textures are not supported when publishing to iPhone
Packages/com.unity.ads@2.0.3/Editor/Resources/Editor/portrait.jpg
Included from scene:
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Expected behaviour: Build completes successfully

Reproduced on versions: Unity 2017.3.0f3, 2017.3.0p3
Did not reproduce on versions: Unity 2018.1.0b4, 2017.3.0f2, 2017.2.1p2

Comments (37)

  1. koronenkoAnast

    Sep 14, 2021 12:29

    Definitely still exists on 2020.3.17f1

  2. mld-cmwolke

    Jun 23, 2021 08:25

    Definitely still exists on 2019.417f1, can confirm it's the Default-Checker-Gray texture.

  3. mvelasco

    Apr 27, 2021 05:46

    Hi everybody. This issue persist on 2019.4.7f1. As @HTAKEDA mention before, stopping to use Default-Checker-Gray solves this. One effective way to find the objects in the scene that use it, when you have several materials is with the Frame Debugger.

  4. vaggelisstam

    Mar 01, 2021 09:14

    Still happens at 2019.4.4 after switching platform from Android to iOS.. Is there a workaround? I tried reimporting everything but in vain..

  5. OSG_PierreP

    Jul 30, 2020 13:58

    This is still happening in Unity 2019.4.5f1 LTS :
    [Unity] ERROR: DXT1 compressed textures are not supported when publishing to iPhone
    [Unity] ERROR: Building - Failed to write file: sharedassets0.assets
    [Unity] ERROR: Player export failed. Reason: Building - Failed to write file: sharedassets0.assets

    I had a material that was using the "Default-Checker-Gray" texture in its Albedo.

  6. Morrag

    Jun 27, 2020 07:57

    Same problem. But. Solved it by removing my Resources folder from Assets folder. Just moved all subfolders to Assets and then build was successful!

  7. yoiang

    May 13, 2020 15:18

    @HTAKEDA Thank you, that fixed for me!!

  8. htakeda

    Apr 13, 2020 16:15

    Thank you SAMFSS
    Stopping to use Default-Checker-Gray solves this issue for me.

  9. zauberzaubar

    Mar 16, 2020 13:08

    Still happening in 2019.3.4f. Also in my case it was Default-Checker-Gray but it was hard to find where. I guess fixing this should be as easy as changing the default compression of that texture or to at least change the error message to tell us _which_ material is causing the error? Thanks.

  10. ogbenr1

    Feb 13, 2020 20:05

    running into same problem, reimport didn't work for me. please where do I find native texture?

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.