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

[Closed]Problem with script in GameObject after load from AssetBundle

Discussion in 'Unity 5 Pre-order Beta' started by MelserSerg, Jan 22, 2015.

  1. MelserSerg

    MelserSerg

    Joined:
    May 15, 2014
    Posts:
    3
    I created AssetBundle with some prefab which contain component Sky using:
    Code (CSharp):
    1. BuildPipeline.BuildAssetBundles(outputPath, BuildAssetBundleOptions.CollectDependencies|BuildAssetBundleOptions.DeterministicAssetBundle);
    and after them I Loaded and instantiate this prefab. But in GameObject component Sky is empty.
    What am I doing wrong?