Has anyone ever gotten a warning in Unity, “Setting scale failed, ignoring request. Please check all scaling axes are non-zero.”?
I’m getting this error. The axes are non-zero, the exact line is below. None of the object’s parents are zero-scale either. This is weird though, setting scale to zero is usually fine anyway.
Exact error message:
Setting scale failed, ignoring
request. Please check all scaling axes
Environments, Environments, Boolean,
Exact code from the line:
selectedTile.transform.localScale = new Vector3 (0.2f, 0.0002f, 0.0002f);
Any insight? 99% of the time this code works perfectly, it just infrequently generates this error. Thanks!