Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Warning: "Setting scale failed, ignoring request." ?

$
0
0
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> are non-zero.> UnityEngine.Transform:set_localScale(Vector3)> EditorUI:LoadLibrary(Libraries,> Environments, Environments, Boolean,> Int32) (at> Assets/Scripts/LevelEditor/EditorUI.cs:322)> EditorUI:LoadLibrary(Libraries,> Environments) (at> Assets/Scripts/LevelEditor/EditorUI.cs:155) 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!

Viewing all articles
Browse latest Browse all 2891


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>