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
7.16k stars 1.83k forks source link

When reopening a prefab containing missing resources, it will not print missing errors. #17221

Open smallmain opened 3 months ago

smallmain commented 3 months ago

Cocos Creator version

3.8.3

System information

MacOS

Issue description

RT.

Relevant error log output

No response

Steps to reproduce

Missing scripts throw an error, asset don't.

Minimal reproduction project

No response

minggo commented 3 months ago

I don't quite understand the issue. Did you mean should print error message when an assent in a prefab misses?

smallmain commented 3 months ago

I don't quite understand the issue. Did you mean should print error message when an assent in a prefab misses?

Yes.

Like this project I gave you.

https://pan.quark.cn/s/a73d4d2be009

Image resources such as res are deleted, possibly after a series of saving, restarting the editor, and so on.

Opening the prefab with the missing resource will not print the missing error, but will only see it rendered in Burgundy.


就比如我给你的这个工程。

https://pan.quark.cn/s/a73d4d2be009

把 res 等图片资源删除,可能经过了一系列保存,重启编辑器等操作之后。

再打开含有丢失资源的预制体,不会打印丢失错误,只能看到渲染为紫红色。

minggo commented 3 months ago

Ok, i changed the title.