hello, this is my first android build. i wanted to make a build and test it on my tablet. when i go to create the build i noticed it was packaging everything into the build, even icons and meshes from asset packages i wasn’t using in any scenes. i thought unity only used the assets used in the scenes? what can i do to fix this?
Why do you think it’s packaging everything ? When building it will pick up only the assets that are actually used in scenes (and things under Resources folders).
Resources folders are convenient in many ways so most assets use them to store materials, shaders, meshes, textures… anything it could instantiate at runtime.
Before launching a build you should take a look at those folders and remove whatever you won’t be using for sure, like optional textures.
Also take a careful look at image effects and check for unused shader keywords. You will want to remove them whenever possible to optimise build compilation time and size. Usually the doc of image effects lists the keywords used so you can decide which ones can be removed or commented out.
In Beautify and Volumetric Fog & Mist for example there’s a convenient section in the inspector to disable unused shader features/keywords with a click. It’s an useful tool that prevents accidental typos when editing the shaders (which not always is something obvious).
Always check the docs on the shader packages for this regards, especially Image Effects packages.