fix(crash): a crash with ray tracing on turns it off for the next start #3310
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3310
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:fix/rt-crash-off"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When the game crashes with ray tracing on, the builder now takes the ray tracing rows and the preset out of the run's
settings.toml, so the next start has ray tracing off. The player turns it on again in the menu.builder/crates/crash/src/safe.rs: removesray_tracing_presetand thert_*rows from the["system/graphics"]table (a setting at its default has no line, so Off is the absence of them). Other tables, other rows andrt_reflections_roughnessstay.after_runcalls it on aCrashverdict only (not an unclean end, so a kill or out-of-memory end keeps the settings), and prints one line saying so.--set,LONGSHOT_SET,RX_VK_RT) is not in the file and is untouched.docs/dev/reference/crash-window.mdsays it.Checked:
cargo test -p crash --lib safe(compiles, 2 new tests pass). Not run in the game.🤖 Generated with Claude Code
WIP: fix(crash): a crash with ray tracing on turns it off for the next startto fix(crash): a crash with ray tracing on turns it off for the next start