puerts icon indicating copy to clipboard operation
puerts copied to clipboard

[Unity] Bug: Wrapper Vector3、Camera、Transform并开启unsafe编译后 使用Camera.WorldToScreenPoint进行坐标转换仍会产生GC

Open sd1840888 opened this issue 2 years ago • 1 comments

前置阅读 | Pre-reading

Puer的版本 | Puer Version

2.0

Unity的版本 | Unity Version

2021.3.29f

发生在哪个平台 | Platform

win

错误信息 | Error Message

333

问题重现 | Bug reproduce

111

222

项目代码 t.zip

sd1840888 avatar Sep 18 '23 09:09 sd1840888

wrapper中产生了一次装箱,待优化

zombieyang avatar Sep 20 '23 02:09 zombieyang

早年的一次优化带入:https://github.com/Tencent/puerts/pull/1023 非常感谢你的反馈和PR。

chexiongsheng avatar Apr 15 '24 08:04 chexiongsheng