bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
36.09k stars 3.56k forks source link

android example fails on 0.10.0 #8036

Open tbillington opened 1 year ago

tbillington commented 1 year ago

Bevy version

https://github.com/bevyengine/bevy/commit/fd1af7c8b8a737b4da79615741f8844069bc6a5c

System information

Versions

Mobile details

AdapterInfo { name: "Mali-G710", vendor: 5045, device: 2824994820, device_type: IntegratedGpu, driver: "Mali-G710", driver_info: "v1.r36p0-01eac0.1f36dec337e44918d811de9a8a2acf4d", backend: Vulkan }
SystemInfo { os: "Android 13 Pixel 7", kernel: "5.10.107-android13-4-00020-g02b5dfab573c-ab9358130", cpu: "", core_count: "8", memory: "7.3 GiB" }

What you did

Run android example

ANDROID_SDK_ROOT=/Users/choc/Library/Android/sdk ANDROID_NDK_ROOT=$ANDROID_SDK_ROOT/ndk/25.2.9519653 cargo apk run -p bevy_mobile_example

What went wrong

Bevy splash logo shows, then screen goes black while audio plays. Logs show errors.

Error logs I thought were most relevant:

03-11 14:36:36.041 16108 16148 E event crates/bevy_gilrs/src/lib.rs:32:  Failed to start Gilrs. Gilrs does not support current platform.
03-11 14:36:36.080 16108 16148 W event crates/bevy_winit/src/winit_windows.rs:170:  Could not set cursor hit test for window "Bevy App": NotSupported(NotSupportedError)
03-11 14:36:36.859 16108 16154 E log event:  Handling wgpu errors as fatal by defaultlog.target = "wgpu::backend::direct"; log.module_path = "wgpu::backend::direct"; log.file = "/Users/choc/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.15.1/src/backend/direct.rs"; log.line = 3023;

and (slightly cleaned)

thread 'Compute Task Pool (2)' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `pbr_opaque_mesh_pipeline`
    parent device is lost

', /Users/choc/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.15.1/src/backend/direct.rs:3024:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'Compute Task Pool (2)' panicked at 'A system has panicked so the executor cannot continue.: RecvError', /Users/choc/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_ecs-0.10.0/src/schedule/executor/multi_threaded.rs:194:60
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', /Users/choc/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_tasks-0.10.0/src/task_pool.rs:376:49
thread 'Compute Task Pool (2)' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', /Users/choc/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_render-0.10.0/src/pipelined_rendering.rs:136:45
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', /Users/choc/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_tasks-0.10.0/src/task_pool.rs:376:49
Full log ``` Finished dev [unoptimized + debuginfo] target(s) in 0.22s 'lib/armeabi-v7a/libbevy_mobile_example.so'... 'lib/arm64-v8a/libbevy_mobile_example.so'... 'lib/armeabi-v7a/libc++_shared.so'... 'lib/arm64-v8a/libc++_shared.so'... Verifying alignment of /Users/choc/code/bevy/target/debug/apk/bevyexample.apk (4)... 49 AndroidManifest.xml (OK - compressed) 948 assets/android-res/mipmap-mdpi/ic_launcher.png (OK) 16720 assets/branding/banner.png (OK) 36128 assets/branding/bevy_bird_simpleicons.svg (OK) 38380 assets/branding/bevy_logo_dark.png (OK) 53608 assets/branding/bevy_logo_dark.svg (OK) 71028 assets/branding/bevy_logo_dark_big.png (OK) 101724 assets/branding/bevy_logo_light.png (OK) 116960 assets/branding/bevy_logo_light.svg (OK) 135884 assets/branding/bevy_logo_light_dark_and_dimmed.svg (OK) 156020 assets/branding/icon.png (OK) 171936 assets/branding/icon.svg (OK) 183512 assets/data/asset.custom (OK) 183604 assets/environment_maps/info.txt (OK) 184440 assets/environment_maps/pisa_diffuse_rgb9e5_zstd.ktx2 (OK) 207832 assets/environment_maps/pisa_specular_rgb9e5_zstd.ktx2 (OK) 6999832 assets/fonts/FiraMono-LICENSE (OK) 7004280 assets/fonts/FiraMono-Medium.ttf (OK) 7177856 assets/fonts/FiraSans-Bold.ttf (OK) 7615948 assets/models/AlienCake/alien.glb (OK) 7651872 assets/models/AlienCake/cakeBirthday.glb (OK) 7751412 assets/models/AlienCake/tile.glb (OK) 7754572 assets/models/Box0.bin (OK) 7755296 assets/models/FlightHelmet/FlightHelmet.bin (OK) 10982520 assets/models/FlightHelmet/FlightHelmet.gltf (OK) 11001140 assets/models/FlightHelmet/FlightHelmet_Materials_GlassPlasticMat_BaseColor.png (OK) 11218476 assets/models/FlightHelmet/FlightHelmet_Materials_GlassPlasticMat_Normal.png (OK) 11466836 assets/models/FlightHelmet/FlightHelmet_Materials_GlassPlasticMat_OcclusionRoughMetal.png (OK) 11756764 assets/models/FlightHelmet/FlightHelmet_Materials_LeatherPartsMat_BaseColor.png (OK) 12070532 assets/models/FlightHelmet/FlightHelmet_Materials_LeatherPartsMat_Normal.png (OK) 12436300 assets/models/FlightHelmet/FlightHelmet_Materials_LeatherPartsMat_OcclusionRoughMetal.png (OK) 12771652 assets/models/FlightHelmet/FlightHelmet_Materials_LensesMat_BaseColor.png (OK) 13015784 assets/models/FlightHelmet/FlightHelmet_Materials_LensesMat_Normal.png (OK) 13017220 assets/models/FlightHelmet/FlightHelmet_Materials_LensesMat_OcclusionRoughMetal.png (OK) 13200876 assets/models/FlightHelmet/FlightHelmet_Materials_MetalPartsMat_BaseColor.png (OK) 13495168 assets/models/FlightHelmet/FlightHelmet_Materials_MetalPartsMat_Normal.png (OK) 13792356 assets/models/FlightHelmet/FlightHelmet_Materials_MetalPartsMat_OcclusionRoughMetal.png (OK) 14109736 assets/models/FlightHelmet/FlightHelmet_Materials_RubberWoodMat_BaseColor.png (OK) 14365036 assets/models/FlightHelmet/FlightHelmet_Materials_RubberWoodMat_Normal.png (OK) 14624180 assets/models/FlightHelmet/FlightHelmet_Materials_RubberWoodMat_OcclusionRoughMetal.png (OK) 14925864 assets/models/SimpleSkin/SimpleSkin.gltf (OK) 14928908 assets/models/animated/Fox.glb (OK) 15091824 assets/models/cube/cube.bin (OK) 15092724 assets/models/cube/cube.gltf (OK) 15095456 assets/models/monkey/Monkey.gltf (OK) 15215688 assets/models/sphere/sphere.bin (OK) 15308136 assets/models/sphere/sphere.gltf (OK) 15310356 assets/models/terrain/Mountains.bin (OK) 15597176 assets/models/terrain/Mountains.gltf (OK) 15600664 assets/pixel/bevy_pixel_dark.png (OK) 15605632 assets/pixel/bevy_pixel_light.png (OK) 15605884 assets/scenes/load_scene_example.scn.ron (OK) 15606588 assets/shaders/animate_shader.wgsl (OK) 15608284 assets/shaders/array_texture.wgsl (OK) 15610116 assets/shaders/cubemap_unlit.wgsl (OK) 15610752 assets/shaders/custom_material.frag (OK) 15611236 assets/shaders/custom_material.vert (OK) 15611892 assets/shaders/custom_material.wgsl (OK) 15612392 assets/shaders/custom_material_chromatic_aberration.wgsl (OK) 15613352 assets/shaders/custom_material_screenspace_texture.wgsl (OK) 15613876 assets/shaders/custom_vertex_attribute.wgsl (OK) 15614856 assets/shaders/game_of_life.wgsl (OK) 15616916 assets/shaders/instancing.wgsl (OK) 15617900 assets/shaders/line_material.wgsl (OK) 15618192 assets/shaders/shader_defs.wgsl (OK) 15618560 assets/shaders/show_prepass.wgsl (OK) 15619416 assets/shaders/texture_binding_array.wgsl (OK) 15620084 assets/shaders/tonemapping_test_patterns.wgsl (OK) 15622036 assets/sounds/Windless Slopes.ogg (OK) 17140776 assets/sounds/breakout_collision.ogg (OK) 17145776 assets/textures/Game Icons/exitRight.png (OK) 17146228 assets/textures/Game Icons/right.png (OK) 17146664 assets/textures/Game Icons/wrench.png (OK) 17147368 assets/textures/Ryfjallet_cubemap.png (OK) 17816780 assets/textures/Ryfjallet_cubemap_astc4x4.ktx2 (OK) 19268492 assets/textures/Ryfjallet_cubemap_bc7.ktx2 (OK) 20628588 assets/textures/Ryfjallet_cubemap_etc2.ktx2 (OK) 21231756 assets/textures/Ryfjallet_cubemap_readme.txt (OK) 21232316 assets/textures/array_texture.png (OK) 21703352 assets/textures/rpg/chars/gabe/gabe-idle-run.png (OK) 21705424 assets/textures/rpg/chars/hat-guy/hat-guy.png (OK) 21705960 assets/textures/rpg/chars/mani/mani-idle-run.png (OK) 21708920 assets/textures/rpg/chars/sensei/sensei.png (OK) 21709724 assets/textures/rpg/chars/vendor/generic-rpg-vendor.png (OK) 21712848 assets/textures/rpg/mobs/boss_bee.png (OK) 21714140 assets/textures/rpg/mobs/fox-run.png (OK) 21715308 assets/textures/rpg/mobs/kobold-idle.png (OK) 21717904 assets/textures/rpg/mobs/slime-blue.png (OK) 21718528 assets/textures/rpg/mobs/slime-green.png (OK) 21719172 assets/textures/rpg/mobs/slime-orange.png (OK) 21719824 assets/textures/rpg/mobs/worm-run-idle.png (OK) 21720660 assets/textures/rpg/props/generic-rpg-barrel01.png (OK) 21721148 assets/textures/rpg/props/generic-rpg-barrel02.png (OK) 21721692 assets/textures/rpg/props/generic-rpg-barrel03.png (OK) 21722144 assets/textures/rpg/props/generic-rpg-board01.png (OK) 21722584 assets/textures/rpg/props/generic-rpg-board02.png (OK) 21723040 assets/textures/rpg/props/generic-rpg-board03.png (OK) 21723600 assets/textures/rpg/props/generic-rpg-board04.png (OK) 21724028 assets/textures/rpg/props/generic-rpg-bridge.png (OK) 21725952 assets/textures/rpg/props/generic-rpg-crate01.png (OK) 21726468 assets/textures/rpg/props/generic-rpg-crate02.png (OK) 21727136 assets/textures/rpg/props/generic-rpg-crate03.png (OK) 21727568 assets/textures/rpg/props/generic-rpg-fence-complete.png (OK) 21728352 assets/textures/rpg/props/generic-rpg-fence-raw01.png (OK) 21728788 assets/textures/rpg/props/generic-rpg-fence-raw02.png (OK) 21729228 assets/textures/rpg/props/generic-rpg-fence-raw03.png (OK) 21729656 assets/textures/rpg/props/generic-rpg-fence-raw04.png (OK) 21730080 assets/textures/rpg/props/generic-rpg-fence-raw05.png (OK) 21730496 assets/textures/rpg/props/generic-rpg-fence-raw06.png (OK) 21730848 assets/textures/rpg/props/generic-rpg-fence-raw07.png (OK) 21731200 assets/textures/rpg/props/generic-rpg-fence-raw08.png (OK) 21731552 assets/textures/rpg/props/generic-rpg-fence-raw09.png (OK) 21731972 assets/textures/rpg/props/generic-rpg-fence-raw10.png (OK) 21732396 assets/textures/rpg/props/generic-rpg-fence-raw11.png (OK) 21732752 assets/textures/rpg/props/generic-rpg-fence-raw12.png (OK) 21733116 assets/textures/rpg/props/generic-rpg-fence-raw13.png (OK) 21733468 assets/textures/rpg/props/generic-rpg-fence-raw14.png (OK) 21733864 assets/textures/rpg/props/generic-rpg-fence-raw15.png (OK) 21734292 assets/textures/rpg/props/generic-rpg-fence-raw16.png (OK) 21734712 assets/textures/rpg/props/generic-rpg-fence-raw17.png (OK) 21735240 assets/textures/rpg/props/generic-rpg-fence-raw18.png (OK) 21735692 assets/textures/rpg/props/generic-rpg-fence-raw19.png (OK) 21736084 assets/textures/rpg/props/generic-rpg-fence-raw20.png (OK) 21736460 assets/textures/rpg/props/generic-rpg-fence-raw21.png (OK) 21736912 assets/textures/rpg/props/generic-rpg-fence-raw22.png (OK) 21737324 assets/textures/rpg/props/generic-rpg-fence-raw23.png (OK) 21737748 assets/textures/rpg/props/generic-rpg-fence-raw24.png (OK) 21738228 assets/textures/rpg/props/generic-rpg-fence-raw25.png (OK) 21738692 assets/textures/rpg/props/generic-rpg-fence01.png (OK) 21739000 assets/textures/rpg/props/generic-rpg-fence02.png (OK) 21739280 assets/textures/rpg/props/generic-rpg-fence03.png (OK) 21739588 assets/textures/rpg/props/generic-rpg-fence04.png (OK) 21739876 assets/textures/rpg/props/generic-rpg-fence05.png (OK) 21740196 assets/textures/rpg/props/generic-rpg-fence06.png (OK) 21740424 assets/textures/rpg/props/generic-rpg-fence07.png (OK) 21740632 assets/textures/rpg/props/generic-rpg-fence08.png (OK) 21740980 assets/textures/rpg/props/generic-rpg-fence09.png (OK) 21741260 assets/textures/rpg/props/generic-rpg-fence10.png (OK) 21741524 assets/textures/rpg/props/generic-rpg-fence11.png (OK) 21741820 assets/textures/rpg/props/generic-rpg-fence12.png (OK) 21742136 assets/textures/rpg/props/generic-rpg-fence13.png (OK) 21742352 assets/textures/rpg/props/generic-rpg-fence14.png (OK) 21742592 assets/textures/rpg/props/generic-rpg-fish01.png (OK) 21742792 assets/textures/rpg/props/generic-rpg-fish02.png (OK) 21742972 assets/textures/rpg/props/generic-rpg-fish03.png (OK) 21743164 assets/textures/rpg/props/generic-rpg-fish04.png (OK) 21743356 assets/textures/rpg/props/generic-rpg-flower01.png (OK) 21743632 assets/textures/rpg/props/generic-rpg-flower02.png (OK) 21743916 assets/textures/rpg/props/generic-rpg-flower03.png (OK) 21744196 assets/textures/rpg/props/generic-rpg-flowers.png (OK) 21744992 assets/textures/rpg/props/generic-rpg-grass01.png (OK) 21745204 assets/textures/rpg/props/generic-rpg-grass02.png (OK) 21745444 assets/textures/rpg/props/generic-rpg-house-inn.png (OK) 21748376 assets/textures/rpg/props/generic-rpg-loot01.png (OK) 21748704 assets/textures/rpg/props/generic-rpg-loot02.png (OK) 21748968 assets/textures/rpg/props/generic-rpg-loot03.png (OK) 21749340 assets/textures/rpg/props/generic-rpg-loot04.png (OK) 21749704 assets/textures/rpg/props/generic-rpg-loot05.png (OK) 21750076 assets/textures/rpg/props/generic-rpg-mini-lake.png (OK) 21751172 assets/textures/rpg/props/generic-rpg-rock01.png (OK) 21751524 assets/textures/rpg/props/generic-rpg-rock02.png (OK) 21751992 assets/textures/rpg/props/generic-rpg-rock03.png (OK) 21752460 assets/textures/rpg/props/generic-rpg-rock04.png (OK) 21753016 assets/textures/rpg/props/generic-rpg-rock05.png (OK) 21753488 assets/textures/rpg/props/generic-rpg-rock06.png (OK) 21754048 assets/textures/rpg/props/generic-rpg-rod.png (OK) 21754604 assets/textures/rpg/props/generic-rpg-trasure-open.png (OK) 21755328 assets/textures/rpg/props/generic-rpg-treasure-closed.png (OK) 21755984 assets/textures/rpg/props/generic-rpg-tree01.png (OK) 21758800 assets/textures/rpg/props/generic-rpg-tree02.png (OK) 21761760 assets/textures/rpg/tiles/generic-rpg-Slice.png (OK) 21761936 assets/textures/rpg/tiles/generic-rpg-tile-waterfall01.png (OK) 21762156 assets/textures/rpg/tiles/generic-rpg-tile-waterfall02.png (OK) 21762436 assets/textures/rpg/tiles/generic-rpg-tile-waterfall03.png (OK) 21762704 assets/textures/rpg/tiles/generic-rpg-tile-waterfall04.png (OK) 21763040 assets/textures/rpg/tiles/generic-rpg-tile-waterfall05.png (OK) 21763500 assets/textures/rpg/tiles/generic-rpg-tile-waterfall06.png (OK) 21763976 assets/textures/rpg/tiles/generic-rpg-tile-waterfall07.png (OK) 21764428 assets/textures/rpg/tiles/generic-rpg-tile01.png (OK) 21764640 assets/textures/rpg/tiles/generic-rpg-tile02.png (OK) 21764968 assets/textures/rpg/tiles/generic-rpg-tile03.png (OK) 21765192 assets/textures/rpg/tiles/generic-rpg-tile04.png (OK) 21765512 assets/textures/rpg/tiles/generic-rpg-tile05.png (OK) 21765712 assets/textures/rpg/tiles/generic-rpg-tile06.png (OK) 21766036 assets/textures/rpg/tiles/generic-rpg-tile07.png (OK) 21766268 assets/textures/rpg/tiles/generic-rpg-tile08.png (OK) 21766592 assets/textures/rpg/tiles/generic-rpg-tile09.png (OK) 21766844 assets/textures/rpg/tiles/generic-rpg-tile10.png (OK) 21767188 assets/textures/rpg/tiles/generic-rpg-tile11.png (OK) 21767388 assets/textures/rpg/tiles/generic-rpg-tile12.png (OK) 21767696 assets/textures/rpg/tiles/generic-rpg-tile13.png (OK) 21767904 assets/textures/rpg/tiles/generic-rpg-tile14.png (OK) 21768192 assets/textures/rpg/tiles/generic-rpg-tile15.png (OK) 21768412 assets/textures/rpg/tiles/generic-rpg-tile16.png (OK) 21768772 assets/textures/rpg/tiles/generic-rpg-tile17.png (OK) 21768976 assets/textures/rpg/tiles/generic-rpg-tile18.png (OK) 21769176 assets/textures/rpg/tiles/generic-rpg-tile19.png (OK) 21769540 assets/textures/rpg/tiles/generic-rpg-tile20.png (OK) 21769756 assets/textures/rpg/tiles/generic-rpg-tile21.png (OK) 21770072 assets/textures/rpg/tiles/generic-rpg-tile22.png (OK) 21770264 assets/textures/rpg/tiles/generic-rpg-tile23.png (OK) 21770576 assets/textures/rpg/tiles/generic-rpg-tile24.png (OK) 21770768 assets/textures/rpg/tiles/generic-rpg-tile25.png (OK) 21771084 assets/textures/rpg/tiles/generic-rpg-tile26.png (OK) 21771276 assets/textures/rpg/tiles/generic-rpg-tile27.png (OK) 21771576 assets/textures/rpg/tiles/generic-rpg-tile28.png (OK) 21771784 assets/textures/rpg/tiles/generic-rpg-tile29.png (OK) 21772076 assets/textures/rpg/tiles/generic-rpg-tile30.png (OK) 21772268 assets/textures/rpg/tiles/generic-rpg-tile31.png (OK) 21772644 assets/textures/rpg/tiles/generic-rpg-tile32.png (OK) 21772872 assets/textures/rpg/tiles/generic-rpg-tile33.png (OK) 21773240 assets/textures/rpg/tiles/generic-rpg-tile34.png (OK) 21773464 assets/textures/rpg/tiles/generic-rpg-tile35.png (OK) 21773760 assets/textures/rpg/tiles/generic-rpg-tile37.png (OK) 21774084 assets/textures/rpg/tiles/generic-rpg-tile38.png (OK) 21774248 assets/textures/rpg/tiles/generic-rpg-tile39.png (OK) 21774604 assets/textures/rpg/tiles/generic-rpg-tile40.png (OK) 21774824 assets/textures/rpg/tiles/generic-rpg-tile41.png (OK) 21775168 assets/textures/rpg/tiles/generic-rpg-tile42.png (OK) 21775368 assets/textures/rpg/tiles/generic-rpg-tile43.png (OK) 21775720 assets/textures/rpg/tiles/generic-rpg-tile44.png (OK) 21776060 assets/textures/rpg/tiles/generic-rpg-tile45.png (OK) 21776412 assets/textures/rpg/tiles/generic-rpg-tile46.png (OK) 21776732 assets/textures/rpg/tiles/generic-rpg-tile47.png (OK) 21777048 assets/textures/rpg/tiles/generic-rpg-tile48.png (OK) 21777356 assets/textures/rpg/tiles/generic-rpg-tile49.png (OK) 21777652 assets/textures/rpg/tiles/generic-rpg-tile50.png (OK) 21777960 assets/textures/rpg/tiles/generic-rpg-tile51.png (OK) 21778188 assets/textures/rpg/tiles/generic-rpg-tile52.png (OK) 21778520 assets/textures/rpg/tiles/generic-rpg-tile53.png (OK) 21778804 assets/textures/rpg/tiles/generic-rpg-tile54.png (OK) 21779092 assets/textures/rpg/tiles/generic-rpg-tile55.png (OK) 21779372 assets/textures/rpg/tiles/generic-rpg-tile56.png (OK) 21779596 assets/textures/rpg/tiles/generic-rpg-tile57.png (OK) 21779992 assets/textures/rpg/tiles/generic-rpg-tile58.png (OK) 21780236 assets/textures/rpg/tiles/generic-rpg-tile59.png (OK) 21780612 assets/textures/rpg/tiles/generic-rpg-tile60.png (OK) 21780996 assets/textures/rpg/tiles/generic-rpg-tile61.png (OK) 21781372 assets/textures/rpg/tiles/generic-rpg-tile62.png (OK) 21781708 assets/textures/rpg/tiles/generic-rpg-tile63.png (OK) 21782088 assets/textures/rpg/tiles/generic-rpg-tile64.png (OK) 21782388 assets/textures/rpg/tiles/generic-rpg-tile65.png (OK) 21782652 assets/textures/rpg/tiles/generic-rpg-tile66.png (OK) 21782920 assets/textures/rpg/tiles/generic-rpg-tile67.png (OK) 21783168 assets/textures/rpg/tiles/generic-rpg-tile68.png (OK) 21783396 assets/textures/rpg/tiles/generic-rpg-tile69.png (OK) 21783688 assets/textures/rpg/tiles/generic-rpg-tile70.png (OK) 21783852 assets/textures/rpg/tiles/generic-rpg-tile71.png (OK) 21784020 assets/textures/rpg/ui/generic-rpg-ui-inventario.png (OK) 21787572 assets/textures/rpg/ui/generic-rpg-ui-inventario01.png (OK) 21787780 assets/textures/rpg/ui/generic-rpg-ui-inventario02.png (OK) 21787972 assets/textures/rpg/ui/generic-rpg-ui-inventario03.png (OK) 21788160 assets/textures/rpg/ui/generic-rpg-ui-inventario04.png (OK) 21788412 assets/textures/rpg/ui/generic-rpg-ui-text-box.png (OK) 21788856 assets/textures/simplespace/License.txt (OK) 21789492 assets/textures/simplespace/enemy_A.png (OK) 21790712 assets/textures/simplespace/enemy_B.png (OK) 21791876 assets/textures/simplespace/ship_C.png (OK) 21792564 assets/textures/spiaggia_di_mondello_1k.hdr (OK) 23325872 res/mipmap-mdpi-v4/ic_launcher.png (OK) 23334788 resources.arsc (OK) 23335528 lib/armeabi-v7a/libbevy_mobile_example.so (OK) 519064900 lib/arm64-v8a/libbevy_mobile_example.so (OK) 1061524684 lib/armeabi-v7a/libc++_shared.so (OK) 1065701948 lib/arm64-v8a/libc++_shared.so (OK) Verification succesful Signing `/Users/choc/code/bevy/target/debug/apk/bevyexample.apk` with keystore `/Users/choc/.android/debug.keystore` Performing Incremental Install Serving... All files should be loaded. Notifying the device. Success Install command complete in 19224 ms Starting: Intent { act=android.intent.action.MAIN cmp=org.bevyengine.example/android.app.NativeActivity } Status: ok LaunchState: COLD Activity: org.bevyengine.example/android.app.NativeActivity TotalTime: 1090 WaitTime: 1093 Complete Launched with PID 16108 --------- beginning of main 03-11 14:36:35.051 16108 16108 I yengine.example: Late-enabling -Xcheck:jni 03-11 14:36:35.106 16108 16108 I yengine.example: Using CollectorTypeCC GC. 03-11 14:36:35.131 16108 16108 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10331; state: ENABLED 03-11 14:36:35.140 16108 16108 W System : ClassLoader referenced unknown path: 03-11 14:36:35.141 16108 16108 D nativeloader: Configuring classloader-namespace for other apk . target_sdk_version=31, uses_libraries=, library_path=/data/app/~~DPJG1c5Rw4kX8gcyRKX8NQ==/org.bevyengine.example-0kiRaqwCT0v-t9AHjhRnog==/lib/arm64:/data/app/~~DPJG1c5Rw4kX8gcyRKX8NQ==/org.bevyengine.example-0kiRaqwCT0v-t9AHjhRnog==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/org.bevyengine.example 03-11 14:36:35.150 16108 16108 V GraphicsEnvironment: ANGLE Developer option for 'org.bevyengine.example' set to: 'default' 03-11 14:36:35.150 16108 16108 V GraphicsEnvironment: ANGLE GameManagerService for org.bevyengine.example: false 03-11 14:36:35.150 16108 16108 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported. 03-11 14:36:35.152 16108 16108 D NetworkSecurityConfig: No Network Security Config specified, using platform default 03-11 14:36:35.153 16108 16108 D NetworkSecurityConfig: No Network Security Config specified, using platform default 03-11 14:36:35.161 16108 16133 D vulkan : searching for layers in '/data/app/~~DPJG1c5Rw4kX8gcyRKX8NQ==/org.bevyengine.example-0kiRaqwCT0v-t9AHjhRnog==/lib/arm64' 03-11 14:36:35.161 16108 16133 D vulkan : searching for layers in '/data/app/~~DPJG1c5Rw4kX8gcyRKX8NQ==/org.bevyengine.example-0kiRaqwCT0v-t9AHjhRnog==/base.apk!/lib/arm64-v8a' 03-11 14:36:35.274 16108 16148 D libEGL : loaded /vendor/lib64/egl/libGLES_mali.so 03-11 14:36:35.424 16108 16148 I event crates/bevy_render/src/renderer/mod.rs:128: AdapterInfo { name: "Mali-G710", vendor: 5045, device: 2824994820, device_type: IntegratedGpu, driver: "Mali-G710", driver_info: "v1.r36p0-01eac0.1f36dec337e44918d811de9a8a2acf4d", backend: Vulkan } 03-11 14:36:36.028 16108 16148 I OboeAudio: openStream() OUTPUT -------- OboeVersion1.7.0 -------- 03-11 14:36:36.029 16108 16148 D OboeAudio: AAudioLoader(): dlopen(libaaudio.so) returned 0x47af55982388e5d9 03-11 14:36:36.030 16108 16148 I AAudio : AAudioStreamBuilder_openStream() called ---------------------------------------- 03-11 14:36:36.030 16108 16148 I AudioStreamBuilder: rate = 44100, channels = 2, channelMask = 0x80000003, format = 5, sharing = SH, dir = OUTPUT 03-11 14:36:36.030 16108 16148 I AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 10, callback: ON with frames = 0 03-11 14:36:36.030 16108 16148 I AudioStreamBuilder: usage = 1, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0 03-11 14:36:36.030 16108 16148 I AudioStreamBuilder: privacy sensitive = false, opPackageName = (null), attributionTag = (null) 03-11 14:36:36.031 16108 16148 D AudioStreamBuilder: build() MMAP not used because AAUDIO_PERFORMANCE_MODE_LOW_LATENCY not requested. 03-11 14:36:36.031 16108 16148 D yengine.example: PlayerBase::PlayerBase() 03-11 14:36:36.032 16108 16148 D AudioStreamTrack: open(), request notificationFrames = 0, frameCount = 0 03-11 14:36:36.037 16108 16148 D AAudioStream: setState(s#1) from 0 to 2 03-11 14:36:36.038 16108 16148 I AAudio : AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#1 ---------------- 03-11 14:36:36.038 16108 16148 D OboeAudio: AudioStreamAAudio.open() format=2, sampleRate=44100, capacity = 3544 03-11 14:36:36.038 16108 16148 D OboeAudio: calculateDefaultDelayBeforeCloseMillis() default = 41 03-11 14:36:36.038 16108 16148 D OboeAudio: AudioStreamAAudio.open: AAudioStream_Open() returned AAUDIO_OK 03-11 14:36:36.038 16108 16148 D AAudio : AAudioStream_requestStart(s#1) called -------------- 03-11 14:36:36.038 16108 16148 D AAudioStream: setState(s#1) from 2 to 3 03-11 14:36:36.039 16108 16148 D AAudio : AAudioStream_requestStart(s#1) returned 0 --------- 03-11 14:36:36.040 16108 16128 D AudioStreamLegacy: onAudioDeviceUpdate(deviceId = 3) 03-11 14:36:36.041 16108 16148 E event crates/bevy_gilrs/src/lib.rs:32: Failed to start Gilrs. Gilrs does not support current platform. 03-11 14:36:36.043 16108 16148 W log event: TODO: forward onStart notification to applicationlog.target = "winit::platform_impl::platform"; log.module_path = "winit::platform_impl::platform"; log.file = "/Users/choc/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.28.1/src/platform_impl/android/mod.rs"; log.line = 449; 03-11 14:36:36.045 16108 16108 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10331; state: DISABLED 03-11 14:36:36.045 16108 16108 D CompatibilityChangeReporter: Compat change id reported: 37756858; UID 10331; state: ENABLED 03-11 14:36:36.080 16108 16148 I event crates/bevy_winit/src/system.rs:51: Creating new window "Bevy App" (0v0) 03-11 14:36:36.080 16108 16148 W event crates/bevy_winit/src/winit_windows.rs:170: Could not set cursor hit test for window "Bevy App": NotSupported(NotSupportedError) 03-11 14:36:36.085 16108 16183 I event crates/bevy_diagnostic/src/system_information_diagnostics_plugin.rs:130: SystemInfo { os: "Android 13 Pixel 7", kernel: "5.10.107-android13-4-00020-g02b5dfab573c-ab9358130", cpu: "", core_count: "8", memory: "7.3 GiB" } 03-11 14:36:36.119 16108 16181 D AAudioStream: setState(s#1) from 3 to 4 03-11 14:36:36.859 16108 16154 E log event: Handling wgpu errors as fatal by defaultlog.target = "wgpu::backend::direct"; log.module_path = "wgpu::backend::direct"; log.file = "/Users/choc/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.15.1/src/backend/direct.rs"; log.line = 3023; 03-11 14:36:36.859 16108 16147 I RustStdoutStderr: thread 'Compute Task Pool (0)' panicked at 'wgpu error: Validation Error 03-11 14:36:36.859 16108 16147 I RustStdoutStderr: 03-11 14:36:36.859 16108 16147 I RustStdoutStderr: Caused by: 03-11 14:36:36.859 16108 16147 I RustStdoutStderr: In Device::create_render_pipeline 03-11 14:36:36.859 16108 16147 I RustStdoutStderr: note: label = `pbr_opaque_mesh_pipeline` 03-11 14:36:36.859 16108 16147 I RustStdoutStderr: parent device is lost 03-11 14:36:36.859 16108 16147 I RustStdoutStderr: 03-11 14:36:36.859 16108 16147 I RustStdoutStderr: ', /Users/choc/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.15.1/src/backend/direct.rs:3024:5 03-11 14:36:36.859 16108 16147 I RustStdoutStderr: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace 03-11 14:36:36.860 16108 16147 I RustStdoutStderr: thread 'Compute Task Pool (0)' panicked at 'A system has panicked so the executor cannot continue.: RecvError', crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:194:60 03-11 14:36:36.860 16108 16147 I RustStdoutStderr: thread '' panicked at 'called `Option::unwrap()` on a `None` value', /Users/choc/code/bevy/crates/bevy_tasks/src/task_pool.rs:376:49 03-11 14:36:36.867 16108 16147 I RustStdoutStderr: thread 'Compute Task Pool (0)' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', crates/bevy_render/src/pipelined_rendering.rs:136:45 03-11 14:36:36.868 16108 16147 I RustStdoutStderr: thread '' panicked at 'called `Option::unwrap()` on a `None` value', /Users/choc/code/bevy/crates/bevy_tasks/src/task_pool.rs:376:49 03-11 14:36:46.233 16108 16117 I yengine.example: Thread[6,tid=16117,WaitingInMainSignalCatcherLoop,Thread*=0xb40000790931a2c0,peer=0x12c40560,"Signal Catcher"]: reacting to signal 3 03-11 14:36:46.234 16108 16117 I yengine.example: 03-11 14:36:46.385 16108 16117 W yengine.example: sched_getscheduler(16148): No such process 03-11 14:36:46.385 16108 16117 W yengine.example: sched_getparam(16148, &sp): No such process 03-11 14:36:46.790 16108 16117 I yengine.example: Wrote stack traces to tombstoned ```

Additional information

Mentioned this first in the android channel in discord.

Cargo lock (too big to include in issue) https://pastebin.com/MQeaW3KR.

mockersf commented 1 year ago

I found two issues on Android, depending on your device:

Could you try with both MSAA disabled and no shadows? You can try with the example code from https://github.com/mockersf/bevy/blob/daily-mobile-CI/examples/mobile/src/lib.rs