Android builds are broken #1061

Closed
opened 2026-11-06 17:24:51 +00:00 by SakulFlee · 2 comments
Owner
11-06 18:22:28.471  2602  2712 D rust_std_out: orbital_world_environment: Cache file: "Orbital/IBLs/10033715427919513922"
11-06 18:22:28.504  2602  2712 D rust_std_out: orbital_world_environment: Generated Sky Specular (direct-to-cube) (256², 3 mips) ...
11-06 18:22:28.551  2602  2712 D rust_std_out: orbital_world_environment: Generated Sky Diffuse (analytic) (128², 1 mips) ...
11-06 18:22:28.607  2602  2712 D rust_std_out: orbital_world_environment: Generating PBR IBL Specular (LoD = 0 / Roughness = 0.0%) ...
11-06 18:22:28.668  2602  2712 D rust_std_out: orbital_world_environment: Generating PBR IBL Specular (LoD = 1 / Roughness = 50.0%) ...
11-06 18:22:28.673  2602  2712 D rust_std_out: orbital_world_environment: Generating PBR IBL Specular (LoD = 2 / Roughness = 100.0%) ...
11-06 18:22:29.323  2602  2602 D rust_std_out: android_activity::activity_impl::glue: Pause: 0x74d958746970
11-06 18:22:29.394  2602  2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "a CommandEncoder", source: RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) }), label: "iced_wgpu encoder" }, description: "Validation Error\n\nCaused by:\n  In a CommandEncoder, label = 'iced_wgpu encoder'\n    In a set_pipeline command\n      RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" }
11-06 18:22:29.395  2602  2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "Queue::submit", source: CommandEncoder(RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) })), label: "" }, description: "Validation Error\n\nCaused by:\n  In Queue::submit\n    In a set_pipeline command\n      RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" }
11-06 18:22:29.397  2602  2712 I rust_std_out: orbital_app::module_runtime: performance CSV: writing Logs/performance.csv
11-06 18:22:29.417  2602  2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "a CommandEncoder", source: RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) }), label: "iced_wgpu encoder" }, description: "Validation Error\n\nCaused by:\n  In a CommandEncoder, label = 'iced_wgpu encoder'\n    In a set_pipeline command\n      RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" }
11-06 18:22:29.417  2602  2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "Queue::submit", source: CommandEncoder(RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) })), label: "" }, description: "Validation Error\n\nCaused by:\n  In Queue::submit\n    In a set_pipeline command\n      RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" }
11-06 18:22:29.436  2602  2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "a CommandEncoder", source: RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) }), label: "iced_wgpu encoder" }, description: "Validation Error\n\nCaused by:\n  In a CommandEncoder, label = 'iced_wgpu encoder'\n    In a set_pipeline command\n      RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" }
11-06 18:22:29.436  2602  2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "Queue::submit", source: CommandEncoder(RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) })), label: "" }, description: "Validation Error\n\nCaused by:\n  In Queue::submit\n    In a set_pipeline command\n      RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" }
11-06 18:22:29.437  2602  2602 D rust_std_out: android_activity::activity_impl::glue: NativeWindowDestroyed: 0x74d958746970 -- 0x74d9a87276d0
11-06 18:22:29.470  2602  2712 I rust_std_out: orbital_app::module_runtime: App suspended!
11-06 18:22:29.534  2602  2602 D rust_std_out: android_activity::activity_impl::glue: Stop: 0x74d958746970
11-06 18:22:29.534  2602  2602 D rust_std_out: android_activity::activity_impl::glue: SaveInstanceState: 0x74d958746970
11-06 18:22:29.539  2602  2602 D rust_std_out: android_activity::activity_impl::glue: Saved state = 0x0, len = 0
11-06 18:22:29.539  2602  2602 D rust_std_out: android_activity::activity_impl::glue: InputQueueDestroyed: 0x74d958746970 -- 0x74d928713820
11-06 18:22:29.539  2602  2602 D rust_std_out: android_activity::activity_impl::glue: Destroy: 0x74d958746970
``` 11-06 18:22:28.471 2602 2712 D rust_std_out: orbital_world_environment: Cache file: "Orbital/IBLs/10033715427919513922" 11-06 18:22:28.504 2602 2712 D rust_std_out: orbital_world_environment: Generated Sky Specular (direct-to-cube) (256², 3 mips) ... 11-06 18:22:28.551 2602 2712 D rust_std_out: orbital_world_environment: Generated Sky Diffuse (analytic) (128², 1 mips) ... 11-06 18:22:28.607 2602 2712 D rust_std_out: orbital_world_environment: Generating PBR IBL Specular (LoD = 0 / Roughness = 0.0%) ... 11-06 18:22:28.668 2602 2712 D rust_std_out: orbital_world_environment: Generating PBR IBL Specular (LoD = 1 / Roughness = 50.0%) ... 11-06 18:22:28.673 2602 2712 D rust_std_out: orbital_world_environment: Generating PBR IBL Specular (LoD = 2 / Roughness = 100.0%) ... 11-06 18:22:29.323 2602 2602 D rust_std_out: android_activity::activity_impl::glue: Pause: 0x74d958746970 11-06 18:22:29.394 2602 2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "a CommandEncoder", source: RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) }), label: "iced_wgpu encoder" }, description: "Validation Error\n\nCaused by:\n In a CommandEncoder, label = 'iced_wgpu encoder'\n In a set_pipeline command\n RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" } 11-06 18:22:29.395 2602 2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "Queue::submit", source: CommandEncoder(RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) })), label: "" }, description: "Validation Error\n\nCaused by:\n In Queue::submit\n In a set_pipeline command\n RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" } 11-06 18:22:29.397 2602 2712 I rust_std_out: orbital_app::module_runtime: performance CSV: writing Logs/performance.csv 11-06 18:22:29.417 2602 2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "a CommandEncoder", source: RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) }), label: "iced_wgpu encoder" }, description: "Validation Error\n\nCaused by:\n In a CommandEncoder, label = 'iced_wgpu encoder'\n In a set_pipeline command\n RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" } 11-06 18:22:29.417 2602 2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "Queue::submit", source: CommandEncoder(RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) })), label: "" }, description: "Validation Error\n\nCaused by:\n In Queue::submit\n In a set_pipeline command\n RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" } 11-06 18:22:29.436 2602 2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "a CommandEncoder", source: RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) }), label: "iced_wgpu encoder" }, description: "Validation Error\n\nCaused by:\n In a CommandEncoder, label = 'iced_wgpu encoder'\n In a set_pipeline command\n RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" } 11-06 18:22:29.436 2602 2712 E rust_std_out: orbital_app::context: wgpu uncaptured error: Validation { source: ContextError { fn_ident: "Queue::submit", source: CommandEncoder(RenderPass(RenderPassError { scope: SetPipelineRender, inner: InvalidResource(InvalidResourceError(ResourceErrorIdent { type: "RenderPipeline", label: "iced_wgpu.quad.solid.pipeline" })) })), label: "" }, description: "Validation Error\n\nCaused by:\n In Queue::submit\n In a set_pipeline command\n RenderPipeline with 'iced_wgpu.quad.solid.pipeline' label is invalid\n" } 11-06 18:22:29.437 2602 2602 D rust_std_out: android_activity::activity_impl::glue: NativeWindowDestroyed: 0x74d958746970 -- 0x74d9a87276d0 11-06 18:22:29.470 2602 2712 I rust_std_out: orbital_app::module_runtime: App suspended! 11-06 18:22:29.534 2602 2602 D rust_std_out: android_activity::activity_impl::glue: Stop: 0x74d958746970 11-06 18:22:29.534 2602 2602 D rust_std_out: android_activity::activity_impl::glue: SaveInstanceState: 0x74d958746970 11-06 18:22:29.539 2602 2602 D rust_std_out: android_activity::activity_impl::glue: Saved state = 0x0, len = 0 11-06 18:22:29.539 2602 2602 D rust_std_out: android_activity::activity_impl::glue: InputQueueDestroyed: 0x74d958746970 -- 0x74d928713820 11-06 18:22:29.539 2602 2602 D rust_std_out: android_activity::activity_impl::glue: Destroy: 0x74d958746970 ```
Author
Owner

The scene finishes loading before the stall (Scene loaded with 59 entities), so this is the first frame / iced initialization rather than asset loading.

The mobile debug toggle makes iced visible on the first frame, while the old debug panels stayed hidden until F1. On Mali Vulkan the iced_wgpu.quad.solid.pipeline is rejected, and the app then submits the invalid pipeline every frame.

Two mitigations are now merged on main:

  • #1064 disables the Android touch toggle by default (DebugUiModule::with_mobile_toggle(true) opts back in), so Android can render the scene without initializing iced.
  • #1063 captures iced pipeline validation errors, logs the real error once, and disables that panel instead of submitting an invalid pipeline forever.

Please retest current main on the physical phone and emulator. If the phone still stalls before the scene, send the lines around Scene loaded and any iced initialization failed message; if the debug UI is missing on the emulator, that is expected on Android now unless F1 is available or the opt-in is set.

The scene finishes loading before the stall (`Scene loaded with 59 entities`), so this is the first frame / iced initialization rather than asset loading. The mobile debug toggle makes iced visible on the first frame, while the old debug panels stayed hidden until F1. On Mali Vulkan the `iced_wgpu.quad.solid.pipeline` is rejected, and the app then submits the invalid pipeline every frame. Two mitigations are now merged on `main`: - #1064 disables the Android touch toggle by default (`DebugUiModule::with_mobile_toggle(true)` opts back in), so Android can render the scene without initializing iced. - #1063 captures iced pipeline validation errors, logs the real error once, and disables that panel instead of submitting an invalid pipeline forever. Please retest current `main` on the physical phone and emulator. If the phone still stalls before the scene, send the lines around `Scene loaded` and any `iced initialization failed` message; if the debug UI is missing on the emulator, that is expected on Android now unless F1 is available or the opt-in is set.
Author
Owner

Fully fixed and verified.

Fully fixed and verified.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SakulFlee/Orbital#1061
No description provided.