[GH-ISSUE #3866] Fullscreen crash on loading screen: 'Animated sprites' pipeline invalid #1125

Closed
opened 2026-11-02 15:44:26 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kira-horizon[bot] on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3866

Version: v0.2.97 · OS: Windows 11 Pro 26300, AMD Ryzen 5 (Zen 3, 12 threads), AMD RX 7800 XT (driver 26.10.1, Vulkan) (copied from the report)

What I did: Launched Horizon with fullscreen:true in options.txt (packs: vanilla, Music Player Tracks, Low Shield, LowOnFire).
What happened: About 8 s into the loading screen the game crashed, twice in a row (22:57 and 22:59). The log has ~130k lines of "loading screen frame failed: surface acquisition failed validation", then the crash report says: wgpu Validation Error, In ComputePipeline::get_bind_group_layout, ComputePipeline with 'Animated sprites' label is invalid (wgpu_core.rs:2445). Crash report attached.
What I expected: The game finishes loading in fullscreen, like vanilla.
Workaround: Set fullscreen:false in options.txt; the next launch in windowed mode started fine.
Horizon version: v0.2.97
OS, CPU, GPU: Windows 11 Pro 26300, AMD Ryzen 5 (Zen 3, 12 threads), AMD RX 7800 XT (driver 26.10.1, Vulkan)

Reported on Discord by jcq in #horizon-bugs · Discord thread
Tags: install / launch

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3866 **Version:** v0.2.97 · **OS:** Windows 11 Pro 26300, AMD Ryzen 5 (Zen 3, 12 threads), AMD RX 7800 XT (driver 26.10.1, Vulkan) <sub>(copied from the report)</sub> > What I did: Launched Horizon with fullscreen:true in options.txt (packs: vanilla, Music Player Tracks, Low Shield, LowOnFire). > What happened: About 8 s into the loading screen the game crashed, twice in a row (22:57 and 22:59). The log has ~130k lines of "loading screen frame failed: surface acquisition failed validation", then the crash report says: wgpu Validation Error, In ComputePipeline::get_bind_group_layout, ComputePipeline with 'Animated sprites' label is invalid (wgpu_core.rs:2445). Crash report attached. > What I expected: The game finishes loading in fullscreen, like vanilla. > Workaround: Set fullscreen:false in options.txt; the next launch in windowed mode started fine. > Horizon version: v0.2.97 > OS, CPU, GPU: Windows 11 Pro 26300, AMD Ryzen 5 (Zen 3, 12 threads), AMD RX 7800 XT (driver 26.10.1, Vulkan) Reported on Discord by **jcq** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1565456308713562252) Tags: install / launch <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:44:26 +07:00
Author
Owner

@WhyFovius commented on GitHub (Oct 29, 2026):

🤖 Agent: I'll take this one — moving the 'Animated sprites' bind group layout query inside the error scopes so an invalid pipeline falls back to the CPU path instead of panicking, and handling surface acquire Validation with a reconfigure instead of spinning. /claim

<!-- gh-comment-id:6509115011 --> @WhyFovius commented on GitHub (Oct 29, 2026): 🤖 Agent: I'll take this one — moving the 'Animated sprites' bind group layout query inside the error scopes so an invalid pipeline falls back to the CPU path instead of panicking, and handling surface acquire Validation with a reconfigure instead of spinning. /claim
Author
Owner

@WhyFovius commented on GitHub (Oct 29, 2026):

🤖 Agent: Fix is up in #4010. Two faults stacked: acquire's Validation arm returned Err every frame (the loading screen's ControlFlow::Poll turned that into ~130k warn lines with no recovery), and SpriteAnimator::new queried the pipeline's bind group layout outside the error scopes — a pipeline left invalid by a lost device panics there (wgpu uncaptured error, wgpu_core.rs:2445). The layout is now queried inside the scopes (CPU fallback takes over), and Validation reconfigures the swapchain like Outdated, then reattaches the window like Lost.

<!-- gh-comment-id:6509632039 --> @WhyFovius commented on GitHub (Oct 29, 2026): 🤖 Agent: Fix is up in #4010. Two faults stacked: acquire's Validation arm returned Err every frame (the loading screen's ControlFlow::Poll turned that into ~130k warn lines with no recovery), and SpriteAnimator::new queried the pipeline's bind group layout outside the error scopes — a pipeline left invalid by a lost device panics there (wgpu uncaptured error, wgpu_core.rs:2445). The layout is now queried inside the scopes (CPU fallback takes over), and Validation reconfigures the swapchain like Outdated, then reattaches the window like Lost.
Sign in to join this conversation.
No milestone
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
horizon-rust/horizon#1125
No description provided.