Unity-Technologies / Addressables-Sample

Demo project using Addressables package
1.29k stars 298 forks source link

ADDR 2642 Add sample assets for "Check Duplicate Bundle Dependencies Multi-Isolated Groups" analyze rule #72

Closed kirstenpilla closed 2 years ago

kirstenpilla commented 2 years ago

Adds project assets to demonstrate the behavior of the "Check Duplicate Bundle Dependencies Multi-Isolated Groups" analyze rule.

Explanation as mentioned in the README

In the sample project there are 3 groups provided to illustrate the behavior of the rule:

  • The Ground Materials Group contains a ScriptableObject that references the materials DirtMat and GrassMat.
  • The Water Materials Group contains a ScriptableObject that references the material WaterMat.
  • The All Materials Group contains a ScriptableObject that references all 3 materials DirtMat, GrassMat, and WaterMat. It shares the same bundle dependencies as the Ground and Water Materials Group.

Fixing the "Check Duplicate Bundle Dependencies Multi-Isolated Groups" rule will create 2 new isolation groups:

  • The first Duplicate Asset Isolation group contains the materials DirtMat and GrassMat.
  • The second Duplicate Asset Isolation groups contains the material WaterMat.