Search Unity

(Case 1172649) [Addressables 1.1.5] Terrain inside scene is pink color in Player build

Discussion in 'Addressables' started by optimise, Jul 28, 2019.

  1. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,129
    In player build, Terrain inside game scene is pink color. At Editor, it still shows properly with Addressables Packed Play Mode. Seems like Addressables leaves out the terrain shader and not include it into player build.
     
  2. MoctezumaDev

    MoctezumaDev

    Joined:
    Aug 14, 2013
    Posts:
    53
    mmm is it a Unity standard shader?
     
  3. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,129
    Should be. It's Built In Standard material.

    upload_2019-7-29_20-48-47.png
     
  4. MoctezumaDev

    MoctezumaDev

    Joined:
    Aug 14, 2013
    Posts:
    53
    Then I suppose it's a bug, I mean with Addressables one can not use the asset bundle browser (addressable asset bundles are not supported) so one can not easily troubleshoot this kind of cases, so who knows if they are including it or not. :)
     
  5. Oinary

    Oinary

    Joined:
    Jun 7, 2017
    Posts:
    2
    If there are terrain in the included scene at build, the issue is resolved. I had the same problem, but I solved it this way. Maybe I think so differs depending on whether included shader at build. I'm sorry that my English is so bad.
     
  6. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    @optimise should be hearing back directly on the ticket, but just for the masses to know... This was an engine issue that is resolved at least as of 2019.2.0f1 and 2019.3.0a11, perhaps earlier.
    There are also some additional fixes for Terrain/AssetBundle interactions coming in 2019.3.0a12 (which will probably be back-ported).
     
    optimise likes this.