把ContentSize的宽度设置为180时报错

width = 180;

this.barUITransform.setContentSize(
width,
this.expBarUITransform.contentSize.height
);

当我把某个节点的UITransform的ContentSize设置为180时报错:Uncaught RangeError: Invalid typed array length: 39744

360截图20250312231119736

补充:大于180都报错