Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
smallmain opened this issue Jun 25, 2024 · 3 comments
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@smallmain
Copy link

smallmain commented Jun 25, 2024

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

@smallmain smallmain added Bug Needs Triage Needs to be assigned by the team labels Jun 25, 2024
@minggo
Copy link
Contributor

minggo commented Jun 26, 2024

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

@smallmain
Copy link
Author

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 minggo changed the title Open a prefab without an error and print the resource path when a prefab does not exist. When reopening a prefab containing missing resources, it will not print missing errors. Jun 26, 2024
@minggo
Copy link
Contributor

minggo commented Jun 26, 2024

Ok, i changed the title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

3 participants