Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Unity Cloud Build Settings for Android Textures

Discussion in 'Unity Build Automation' started by mace44, Feb 5, 2022.

  1. mace44

    mace44

    Joined:
    Feb 8, 2017
    Posts:
    15
    I'm having problems with missing textures when I build for Android from Unity Cloud Build (UCB) using a Git repo. When I build manually from Unity, I don't have this issue. The target device is a Pixel 3.

    upload_2022-2-5_8-54-20.jpeg

    I believe it's a texture issue but I've tried multiple overriding texture settings for Android but I can't seem to make anything work. Is there a particular Unity Cloud Build setting that I'm missing?

    Thanks in advance for your help!

    upload_2022-2-5_8-56-41.jpeg


    Unity Cloud Build Compact Log
    Code (CSharp):
    1. 1: [Unity] Initialize engine version: 2019.4.32f1 (f88bf0bee961)
    2. 2: [Unity] UnityEditor.CloudBuild.UnityReflector:LogPropertyError (string,string)
    3. 3: [Unity] UnityEditor.CloudBuild.UnityReflector:LogPropertyError (string,string)
    4. 4: [Unity] Finished exporting player successfully.
    5. 5: publishing finished successfully.
    6. 6: Finished: SUCCESS
     
  2. mace44

    mace44

    Joined:
    Feb 8, 2017
    Posts:
    15
    I was able to fix my issue but it had nothing to do with the texture settings but with the model itself. It has been awhile since messed with the model in my project and realized the model was a Blender file (.blend). After converting my model to .PBX, the model and texture magically worked.

    Links to some forum posts if you rely on Blender files:
    https://forum.unity.com/threads/unity-cloud-build-and-blender.954792/

    Texture compression issues:
    https://forum.unity.com/threads/texture-compression-override-in-android-build-settings.273711/