Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

(iOS) Create Thread: DXT1 compressed textures are not supported when publishing

Discussion in 'Unity Ads & User Acquisition' started by stevenatunity, Mar 7, 2018.

  1. stevenatunity

    stevenatunity

    Joined:
    Apr 17, 2015
    Posts:
    114
    I've just updated to Unity 2017.3.1p3 and I'm getting the following error when building to iOS

    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:

    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:​

    A user in this Issue Tracker (https://issuetracker.unity3d.com/is...s-are-not-supported-when-publishing-to-iphone) suggests removing the images from Unity Ads, but I'm using Unity Ads so can I remove these images safely?

    I successfully built yesterday with Unity 2017.3.1p2 so I'll probably roll back and see if the issue persists.
     
  2. mikaisomaa

    mikaisomaa

    Unity Technologies

    Joined:
    Sep 14, 2015
    Posts:
    365
    Hi,

    Thanks for bringing this up!

    Can you try if these steps help:

    - Disable your Ads integration from the services window in the editor
    - Download the Unity Ads Asset Store package
    - Initialise Ads manually using your Game IDs
    - If you still see this error, reimport everything

    Please let me know how this works for you.
     
  3. stevenatunity

    stevenatunity

    Joined:
    Apr 17, 2015
    Posts:
    114
    @mikaisomaa Thanks! Asset Store version of Unity Ads compiled fine :) Do the latest patches not always integrate the latest version of Unity Ads?
     
  4. mikaisomaa

    mikaisomaa

    Unity Technologies

    Joined:
    Sep 14, 2015
    Posts:
    365
    Glad to hear that!

    Different editor versions have different embedded versions of the Ads SDK - mostly not up to date. Currently the best way to stay up to date is by using the Asset Store package, but in the future I expect the package manager + services window to be the ways to go, since then you'll be able to stay up to date even with the embedded packages.
     
    stevenatunity likes this.
  5. GuardHei

    GuardHei

    Joined:
    Feb 10, 2018
    Posts:
    89
    The first solution doesn't work. I didn't even turn on the Unity Ad service, but still got the same error. By the way, I used analytics services but worked well.
     
  6. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,251
    I have the same - it is a bad bug, considering I never selected to have ads in the first place.
    If I go to the services window it says I am not online/signed in, if I sign in I get nothing helpful as I do not have a project ID - do I really need one?

    Why can you not just disable ads - in fact have them off by default?
    Or is this a bug coming from project upgrading over time?!

    Edit: That was Unity 2017.3.1, it does appear fixed in latest LTS release 2017.4.6f1
     
    Last edited: Jul 4, 2018