How to ensure an asset is not included the build ?

Hello,

we use many reference images to rig our 2d characters, is there a way to ensure that the reference images are not included in the build by mistake ?

(like throwing an error in the build process if they are referenced from a scene or from the texture packer)

Use build report in that project and you will get all the information regarding asset used in build.