Will unused resources be compiled?

I’m concerning about the unused resources like prefabs, materials or textures which I have never used in my scenes (maybe for later use). I want to make sure that wether they will be compiled when I compile my project? Do I need to remove them from my project first?
Thanks.

No, Only resources that are assocaited will be compiled though the folder “resources” and “Streaming assets” in your asset folder will get compiled completely any notification script will also get compiled
if you have pro use compression tech