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

Build success but result is black

Discussion in 'Unity Build Automation' started by manthoR, Oct 6, 2015.

  1. manthoR

    manthoR

    Joined:
    Apr 21, 2014
    Posts:
    25
    Hello,

    First of all, congrats ! UCB is really an awesome service !

    I've setup my last project to use it :
    - git repo on visual studio online
    - conf game for webplayer / android and iOS as adhoc profile.

    After a little bug on ios (a package missing in repo) and on webplayer (unity ads do not works on this platform), now UCB succeed the 3 platform builds.

    My issue is that when I launch the game it's all black :
    - in webplayer and android : UI is displayed Textmesh pro object and particles also
    - in iOS, no more UI

    Here two screens to explain :

    When I build @home using Unity 5.2.1p1 : (running on xperia z2)
    Screenshot_2015-10-06-21-47-26.png

    When I build with UCB using "Unity latest" : (running on the same xperia z2)
    Screenshot_2015-10-06-15-36-31.png

    I've got lots of warning on UCB concerning Shaders, but I buy them on asset store, and they works perfectly on Editor and on home builds.

    In iOS even UI desapear.

    Do you have any idea ?

    Cheers,

    Flavien
     
  2. Ryanc_unity

    Ryanc_unity

    Unity Technologies

    Joined:
    Jul 22, 2015
    Posts:
    332
    Hey Flavien,

    By chance do you have continuous baking turned on in your scenes? If you do, you will want to turn that off, manually build the light maps, and check those new files into your repository. Cloud Build does not support building light maps yet.

    Let me know if that helps.
     
  3. manthoR

    manthoR

    Joined:
    Apr 21, 2014
    Posts:
    25
    Hello !
    There is no lightmaps at all, the main shader is just an unlit without ligtmapping support (Unlit/Texture is used for boxes, walls and barrels on first screenshot)
     
  4. hypeNate

    hypeNate

    Unity Technologies

    Joined:
    Apr 4, 2014
    Posts:
    272
    Have you tried changing your Unity version in Cloud Build to the specific version you are using at home (5.2.1p1)? Try that and let us know if it resolves your issue...
     
  5. manthoR

    manthoR

    Joined:
    Apr 21, 2014
    Posts:
    25
    Hello hypeNate and thank you
    The build with target specifically 5.2.1p1 is launched, but isn't this version the latest one ?
     
  6. Ryanc_unity

    Ryanc_unity

    Unity Technologies

    Joined:
    Jul 22, 2015
    Posts:
    332
    Hmm, interesting.
    Can you direct message me a link to your project in Cloud Build?
     
    manthoR likes this.
  7. manthoR

    manthoR

    Joined:
    Apr 21, 2014
    Posts:
    25
    Hello,
    Building using target 5.2.1p1, no changes.
    @Ryanc_unity yep !
     
  8. manthoR

    manthoR

    Joined:
    Apr 21, 2014
    Posts:
    25
    It was just because I use blender on m'y workflow and UCB do notre support .blend files.
    My mistake.

    Thank you ryanc to point this to me.

    Swapping to fbx will be a lot of work and will reduce productivity.

    I know support specific format is not on top of your list but do you have a road map ? I really want to include UCB on my projects :)
     
  9. hypeNate

    hypeNate

    Unity Technologies

    Joined:
    Apr 4, 2014
    Posts:
    272
  10. manthoR

    manthoR

    Joined:
    Apr 21, 2014
    Posts:
    25
    Done ! 4 of my votes on this :)