Don’t know the right terminology so i’ll ask in my own words… Is unity compiling the whole project, including the stuff it isn’t used in the scene? Like, if i have 100 of test textures, will they be packed in the final app or does unity strip the project and uses only the stuff that is actualy used??
Short answer: no.
You can see exactly what’s in the final build by opening “Editor log” after build your project for iOS.
Unity will check for all references that is made within all the scenes that is included in the build and will include all the assets that are only needed. So no worries. ![]()
Guys,
I’m not sure but I think only PRO will strip the unused lib and code. The stripping option is not available in STD.
thats correct, half at least, cause some stuff just gets not compiled and added at all with the regular non pro iOS license so its not “everything” that would be added
but above question was about assets in the project folder, not a compile level optimazation.
The question isn’t about code, it’s about assets, where there’s no difference between free and pro. Also, all scripts are always included regardless (unlike textures, models, etc.), because there’s no good way for Unity to know which are referenced and which aren’t. The stripping feature in Pro is primarily about Mono libraries.
–Eric
Thanks for the responses guys! I was worried for a second that i will have to clean up the project manually before compiling final build… that would take forever!! :))