cocos / cocos-engine

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
https://www.cocos.com/en/creator
Other
8.21k stars 1.94k forks source link

每次保存场景的Transform信息不一致导致物理引擎运行结果不一致(The Transform will changed after save scene leads to inconsistent results in the physics engine running) #17704

Open longchuan opened 2 weeks ago

longchuan commented 2 weeks ago

Cocos Creator version

3.8.4

System information

windows 11

Issue description

每次保存场景的Transform信息不一致导致物理引擎运行结果不一致 原理应该是,场景编辑器通过字符串数据加载数据,变更了Transform信息,然后生成Transform信息的时候也变更了信息。 (Perhaps because of the communication between scene editor and string file )

Relevant error log output

No response

Steps to reproduce

每次保存场景的Transform信息不一致导致物理引擎运行结果不一致

Minimal reproduction project

No response

minggo commented 2 weeks ago

能说得具体点吗?数据从什么变成什么了?

longchuan commented 2 weeks ago

能说得具体点吗?数据从什么变成什么了?

论坛有过其他反馈,这让我不得不加个git临时解决问题https://forum.cocos.org/t/topic/155837/21?u=1111934