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

3.8.3 Building Android debug mode may render exceptions #17016

Closed
zhitaocai opened this issue May 20, 2024 · 6 comments
Closed

3.8.3 Building Android debug mode may render exceptions #17016

zhitaocai opened this issue May 20, 2024 · 6 comments
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@zhitaocai
Copy link

Cocos Creator version

3.8.3

System information

Android 14

Issue description

Since the project was upgraded from 3.8.2 to 3.8.3

When building Android Debug mode, there may be rendering exceptions (note, it is possible, not guaranteed), and the following error will be reported:

image

In addition, with the same project configuration, when building Android Release mode, there will be no rendering exceptions.

After my own investigation, I found that the following places did not perform empty judgment processing, which led to the above problems:

image

At present, I comment out this judgment code, and all rendering exception problems can be solved.

But I haven't found the root cause of the problem. I hope the technical students in the engine team can troubleshoot the positioning problem.

In addition, this problem only occurred after upgrading my project from 3.8.2 to 3.8.3. The same code has no rendering problem in 3.8.2.

Relevant error log output

No response

Steps to reproduce


Minimal reproduction project

No response

@zhitaocai zhitaocai added Bug Needs Triage Needs to be assigned by the team labels May 20, 2024
@dumganhar
Copy link
Contributor

Also reported at https://forum.cocos.org/t/topic/160454/4

@zhitaocai
Copy link
Author

still happen in 3.8.4

@dumganhar
Copy link
Contributor

@zhitaocai did you get the steps to reproduce this issue?

@zhitaocai
Copy link
Author

There is no way to reproduce it stably for now.

But you can observe the render-data.ts file. All places where this._renderDrawInfo is used have a null check, except for the lines that report errors.

@zhitaocai
Copy link
Author

There is no way to reproduce it stably for now.

But you can observe the render-data.ts file. All places where this._renderDrawInfo is used have a null check, except for the lines that report errors.

i hope this msg will be helpful

@zhitaocai
Copy link
Author

I just found issue 17365, is this issue possibly related to issue 17365?

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