[BUG] sprite-frame 的 unbiasUV 计算方式有误 .
Author: finscnCreated Aug 14, 2025Updated Aug 24, 2026
LabelsBugNeeds Triage
Cocos Creator version
3.8.6
System information
all
Issue description
计算 UV 时, spriteFrame.uv 和 spriteFrame.unbiasUV 用的 参数一模一样, 失去了 原本的意义.
上述截图中的代码 在同一个代码段 同一个作用域里, 其中的 rect , texw , texh 值也完全一样. 最后的结果就是 uv 和 unbiasUV 完全一样.
Relevant error log output
No response
Steps to reproduce
.
Minimal reproduction project
No response
Source: cocos/cocos-engine