Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Asset Bundle Lightmapping Broken

Discussion in '5.3 Beta' started by ObliviousHarmony, Oct 5, 2015.

  1. ObliviousHarmony

    ObliviousHarmony

    Joined:
    Jul 3, 2014
    Posts:
    79
    Hello,

    When attempting to build an AssetBundle, I receive a few instances of the error:

    Code (csharp):
    1. Error adding system: Data not available.
    2. UnityEditor.BuildPipeline:BuildStreamedSceneAssetBundle(String[], String, BuildTarget)
    It also causes a number of warnings relating to "Failed to add the asset file size for GI/BuildPlayer-XXXXXX" It's worth noting that I can't use the "BuildAssetBundles()" API with my game, but the warnings appear for it as well.

    I filed a bug report with a repro project: 733750

    As a side-note, this multi-scene editing is going to make my hierarchy look ridiculous after I add more content scenes :D I can't wait to have 100+ empty objects in there.
     
  2. ObliviousHarmony

    ObliviousHarmony

    Joined:
    Jul 3, 2014
    Posts:
    79
    With the latest patch the file size warning is gone, but the error adding system is still present.
     
  3. alexeyzakharov

    alexeyzakharov

    Joined:
    Jul 2, 2014
    Posts:
    507
    Hi!
    Thanks for reporting the issue.
    Fix for the "Failed to add the asset file size for GI/BuildPlayer-XXXXXX" error is incoming.
    The lightmaps issue mentioned in the case is being investigated.