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

Crash on Android on 0.14 #14146

Closed
Litttlefish opened this issue Jul 5, 2024 · 9 comments · Fixed by #14176
Closed

Crash on Android on 0.14 #14146

Litttlefish opened this issue Jul 5, 2024 · 9 comments · Fixed by #14176
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior O-Android Specific to the Android mobile operating system P-Crash A sudden unexpected crash
Milestone

Comments

@Litttlefish
Copy link
Contributor

Bevy version

0.14

What you did

I updated bevy version to 0.14

What went wrong

Android game will crash, which didn't on 0.13

Additional information

Here is the crash dump
org.bevyengine.roundyproduction_2024-07-05T13_59_.log

@Litttlefish Litttlefish added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Jul 5, 2024
@mockersf
Copy link
Member

mockersf commented Jul 5, 2024

Could you also share the console log?

@mockersf mockersf added A-Rendering Drawing game state to the screen P-Crash A sudden unexpected crash O-Android Specific to the Android mobile operating system and removed S-Needs-Triage This issue needs to be labelled labels Jul 5, 2024
@Litttlefish
Copy link
Contributor Author

Litttlefish commented Jul 5, 2024

Could you also share the console log?

https://discord.com/channels/691052431525675048/757316314845937785/1258474648333455400
I'm not at my computer right now, this message has the same issue provided with some console log

@mockersf
Copy link
Member

mockersf commented Jul 5, 2024

Those are not usable for me, I'll wait for something in text form rather than screenshots of logs when you can

@Litttlefish
Copy link
Contributor Author

Litttlefish commented Jul 5, 2024

Those are not usable for me, I'll wait for something in text form rather than screenshots of logs when you can

Xiaomi-2206122SC-Android-14_2024-07-05_174638.log
I grabbed some console information from logcat
It was logcat format, but github doesn't support it

@BaituLime
Copy link

BaituLime commented Jul 5, 2024

@mockersf It's mine.
mine.log

@extrawurst
Copy link
Contributor

I think the key is:

�[31m07-05 20:33:31.467 21914 18555 E event /home/bunny/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.3/src/pCannot get the native window, it's null and will always be null before Event::Resumed and after Event::Suspended. Make sure you only call this function between those events.�[0m

@mockersf
Copy link
Member

mockersf commented Jul 5, 2024

This seems to be #13038 but on more GPUs that we identified at the time
it's fixed for Adreno 6xx, but you are on Adreno 730. Those GPUs lie about supporting compute shader 🤷

@Litttlefish
Copy link
Contributor Author

I'll try disabling gpu processing on adreno 7 as #13323 did, let's see if it's really caused by that

@Litttlefish
Copy link
Contributor Author

Litttlefish commented Jul 6, 2024

Yup, it's caused by this, changing it from 6 to 7 fixed my game, but should we expand this filter to all Adreno GPUs?

@mockersf mockersf added this to the 0.14.1 milestone Jul 6, 2024
github-merge-queue bot pushed a commit that referenced this issue Jul 8, 2024
…#14176)

# Objective

Fix #14146 

## Solution

Expansion of #13323 , excluded Adreno 730 and earlier.

## Testing

Tested on android device(Adreno 730) that used to crash
mockersf pushed a commit that referenced this issue Aug 2, 2024
…#14176)

# Objective

Fix #14146 

## Solution

Expansion of #13323 , excluded Adreno 730 and earlier.

## Testing

Tested on android device(Adreno 730) that used to crash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior O-Android Specific to the Android mobile operating system P-Crash A sudden unexpected crash
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants