Hi
In the SplineMeshTilling, I see the follow script:
foreach (var go in generated.transform
.Cast()
.Select(child => child.gameObject).Except(used)) {
UOUtility.Destroy(go);
}
But some times, one or more child did not destroy. After that, I store the "Select" result to an Array and use "for" instead of "foreach". The problem is solved.
Hi
In the SplineMeshTilling, I see the follow script:
foreach (var go in generated.transform
.Cast()
.Select(child => child.gameObject).Except(used)) {
UOUtility.Destroy(go);
}
But some times, one or more child did not destroy. After that, I store the "Select" result to an Array and use "for" instead of "foreach". The problem is solved.