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. nikolicdarko

    Dec 06, 2018 05:15

    It's back

  2. Kirshor

    Jul 05, 2018 06:47

    Solved by this way:
    right click 2 file landscape and portrait, choose reimport.

  3. philmuse

    Jun 08, 2018 17:58

    I am getting this error for files within my project, not stuff I can delete. A colleague built a project on version Unity 2017.3.0f3.

    I'm running version 2018.1.1f1 and see this error:
    DXT1 compressed textures are not supported when publishing to iPhone.

    Assets/Resources/path.... *.dds

    This appears to be a regression and not fixed in all cases in 2018.1.1f1.

  4. PNordlund

    May 14, 2018 05:01

    And this is definitely not fixed in Unity 2018.1 because I got those files into my build on Unity 2018.1f2

  5. PNordlund

    May 14, 2018 05:00

    Lucky you, this is what I get:

    Used Assets and files from the Resources folder, sorted by uncompressed size:
    8.0 mb 0.9% Packages/com.unity.ads/Editor/Resources/Editor/landscape.jpg
    8.0 mb 0.9% Packages/com.unity.ads/Editor/Resources/Editor/portrait.jpg

  6. MikePanoff

    Feb 07, 2018 01:44

    I fixed this by removing all 4 files in that folder:

    Two .jpg files and their corresponding .meta files. After that I could build and run with no problem.

    I was not using Unity ads and they were not needed to make a successful build.

  7. SevenPointRed

    Feb 05, 2018 10:12

    Along with the above issue, I am not using unity ads yet they still add a huge amount to my build:

    2.7 mb 2.3% Packages/com.unity.ads@2.0.3/Editor/Resources/Editor/landscape.jpg
    2.7 mb 2.3% Packages/com.unity.ads@2.0.3/Editor/Resources/Editor/portrait.jpg

    I DON'T want unity ads in my game, can't find anywhere to remove this.

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.