Closed kevinfoley closed 6 years ago
Line 808 of LODVolume is this:
LODVolume
var prefab = PrefabUtility.GetCorrespondingObjectFromSource(go);
This requires Unity 2018, but you don't have a corresponding compiler directive. You'll need to change this like you did in AutoLOD:
AutoLOD
#if UNITY_2018_2_OR_NEWER var prefab = PrefabUtility.GetCorrespondingObjectFromSource(go); #else var prefab = PrefabUtility.GetPrefabParent(go); #endif
Fixed with 7f51dea Happy to take PRs from you in the future if that is easier.
Line 808 of
LODVolume
is this:This requires Unity 2018, but you don't have a corresponding compiler directive. You'll need to change this like you did in
AutoLOD
: