Find source of "Inconsistent LOD naming (_LOD1 found but no _LOD0)." messages in a large Unity project.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|for i in $(seq 0 9)|
|echo "Looking for LOD$j where no LOD$i exists."|
|diff <(find . | grep _LOD$i | grep -v meta$ | sed -e "s/LOD$i/LOD-/g" | sort) <(find . | grep _LOD$j | grep -v meta$ | sed -e "s/LOD$j/LOD-/g" | sort) | grep ">"|