cocos-engine
cocos-engine copied to clipboard
[3.8.2] The prefab records data of model resources that are no longer in use
Cocos Creator version
3.8.2
System information
mac
Issue description
When modifying the MeshRenderer component's mesh in a prefab, if the mesh used is from a model resource that has the LOD (Level of Detail) feature enabled, the prefab will continuously reference this model resource. Even if the mesh is changed to use a different model resource, the prefab will still record the previously used model resource. 在 prefab 中修改 MeshRenderer 组件的 mesh 时,如果使用的 mesh 是来自开启了 lod 功能的模型资源,那么 prefab 中就会一直引用这个模型资源,即使修改 mesh 使用其他模型资源但是 prefab 中还是会记录使用过的模型资源。
This is the UUID of the model mesh resource currently being used by the prefab.
这是 prefab 正在使用的模型 mesh 资源 uuid
However, the prefab still retains the UUIDs of the previously used model mesh resources.
Relevant error log output
Steps to reproduce
https://download.cocos.org/CocosTechnicalSupport/VipIssues/XiYun/20240402001.mov