Search Unity

best way to deal with (remotely hosted) adressables with attached scripts ?

Discussion in 'iOS and tvOS' started by arapps3d, Dec 9, 2019.

  1. arapps3d

    arapps3d

    Joined:
    Jan 13, 2015
    Posts:
    19
    My guess is that under iOS, it is not allowed to have scripts attached to addressables that get downloaded at runtime. (because it is like this with asset bundles, they can't have scripts, just models, textures, ....)
    So I think I just have to setup my scenes in a way that all scripts are attached to game objects that are initially there (like for example empty game objects). Can anybody confirm this?
    This would also mean I'd have to write my scripts a bit different than usual, because I'll have to get the addressables by name or tag in a script.
     
    Last edited: Dec 9, 2019