Hi Unity Community,
I’m using com.unity.postprocessing version 3.4.0 with the built-in render pipeline, and I’m currently only using the Bloom effect. However, when I check the build report, I notice that resources unrelated to the Bloom effect are being included in the build, which increases the file size unnecessarily.
I’m looking for advice on how to exclude these unused resources from the build and ensure that only the files required for the Bloom effect are included. Here are a few approaches I’ve considered:
-
Manual Package Embedding:
Should I manually copy the com.unity.postprocessing package from the package cache into my project’s Packages folder (as described in the Unity Manual: Unity - Manual: Embedded dependencies)? Then, I would delete the files that don’t seem necessary for the Bloom effect. -
Identifying Required Files:
How can I determine which files are truly required by the Bloom effect? For example, shaders, textures, and other assets that may be part of the package but aren’t used in my case. I’d like to avoid removing something that could break the Bloom effect.
If anyone has experience with reducing the size of post-processing effects or managing unused resources in Unity packages, I’d really appreciate any advice or best practices. Thanks in advance!