Core RP Library Dependency on Terrain / Physics (3D) modules

Problem:
image
There’s a lot of 2D projects on URP, and they don’t need Terrain or Physics modules.
projects launch/recompile/reimport can became a bit faster, if this happends

Dependencies are fine by itself. But Unity already has tools make any dependent code optional inside any package, by preprocessor defines

Solution:
Defining symbols based on Unity and project package versions

For example - Visual Scripting lost direct dependencies in 2021, and it’s awesome!

1 Like