Search Unity

Scripts included in scene which doesnt reference them using assetbundles

Discussion in 'Asset Bundles' started by dienat, Sep 20, 2018.

  1. dienat

    dienat

    Joined:
    May 27, 2016
    Posts:
    417
    I have made an assetbundle of a scene A, uploaded and then when user starts the application download it and save it in cache so next time just loads from cache. I made also a build of start scene B which calls the download of the assetbundle just with very few gameobjects, but when i put a debug in a script which is loaded in scene A without uploading the assetbundle again when i see the log of the android device it shows the debug i added without being uploaded, how is possible that the log of the application shows me that debug if the scene B doesnt have that script where i put the debug, cause scenes just put in builds what is referenced in them or what is in resources folder, and none is the case its just a script in the script folder inside assets folder. I am using unity 5.6.0