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

[SOLVED] Texture is dull black or white

Discussion in 'Unity Build Automation' started by recruit_tatsuya, Feb 7, 2017.

  1. recruit_tatsuya

    recruit_tatsuya

    Joined:
    Dec 2, 2016
    Posts:
    14
    Hi


    I am making an AR application using Vuforia, but problems are occurring with CloudBuild.

    Texture may be completely black or white when only CloudBuild is done.
    When building locally, it is drawn normally.
    localBuild.png cloudBuild.png

    Do I need to set something?
    I would be happy if you could tell me.

    environment
    - Unity 5.5.1f1
    - iOS 10.2.1
    (I am building for iOS and Android, but it is occurring in both)
    - Vuforia 6.0
    - Light is baking
     
  2. SophiaC

    SophiaC

    Joined:
    Sep 6, 2016
    Posts:
    238
    Hello,

    Have you tried starting a clean build from the dashboard?

    - Sophia
     
  3. recruit_tatsuya

    recruit_tatsuya

    Joined:
    Dec 2, 2016
    Posts:
    14
    @SophiaC
    Thank you for your reply!

    I tried clean build but the same result ...
     
  4. SophiaC

    SophiaC

    Joined:
    Sep 6, 2016
    Posts:
    238
    Hello,

    Make sure you added your scene files to the Build Settings, and that those changes are checked into source control. The Library is cached between builds (this is enabled by default but it is possible to turn it off), and there could be some cached object that isn't getting properly updated. A clean build should fix this. Please note that Cloud Build does not support building lightmaps.

    (I know that's some repeat information, but I want to make it available for other people who visit the forum :))

    If you're still having issues @recruit_tatsuya, please PM me a link to your project.

    - Sophia
     
    recruit_tatsuya likes this.
  5. recruit_tatsuya

    recruit_tatsuya

    Joined:
    Dec 2, 2016
    Posts:
    14
    Thank you for answering @SophiaC

    It is now displayed properly!

    I was developing using Unity 5.6 beta 4, but I rebuilt with Unity 5.5.1 and did a cloudbuild.
    Then Texture was drawn correctly.

    I solved it, thank you.
     
  6. SophiaC

    SophiaC

    Joined:
    Sep 6, 2016
    Posts:
    238
    Glad to hear that!

    - Sophia