unity3d - Errors loading scripts on prefabs from asset bundles -
i'm trying set project allow users download mini games post release. todo trying use asset bundles facilitate this, 1 containing new games scene , 1 containing assets , dlls scripts required. problem having when load scene or prefab bundle attached scripts still there warning says "the associated script can not loaded. please fix compile errors , assign valid script". there obvious missing or asset bundles not work way , i'm going have rebuild scene on load?
you can't have scripts in asset bundles assigned references gameobjects would. can access scripts asset bundles loading them reflection. can programmatically attach them gameobjects, etc. there (for example, load assembly, find type, use addcomponent() on gameobject new loaded type).
see http://docs.unity3d.com/manual/scriptsinassetbundles.html.
but if overcome these hurdles, won't work on windows phone , it's against terms of service of apple's store, ...
Comments
Post a Comment