Hi every time i edit and save my game Cocos Creator gives me this log… “ScaleX != ScaleY. Don’t know which one to return”. Where does it came from?
when you call node->getScale() then you get this error if scaleX and scaleY dont have the same value.
Try calling node->getScaleX(); or node->getScaleY() instead.
@b12345 but i dont have any scripts that modifies the scale of a node…
For me it was a Cocos Btn which was probably using the node->getScale(). When I’ve changed the scaleX and scaleY on the button the log stopped popping out. (I’ve separated the graphics which needed different scale and the button functionality.)