问题

unity3d infinity or nan floating point numbers appear when calculating the transform

解决

问题代码:

 transform.DOScale(0.0f * Vector3.one, 1f);

现象:手机打包才会报错,编辑器里边不会。

修正:

 transform.DOScale(0.01f * Vector3.one, 1f);
Logo

电影级数字人,免显卡端渲染SDK,十行代码即可调用,工业级demo免费开源下载!

更多推荐