play.ps1: -Build release silently drops the DRED data the script asks for #283
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD#283
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@itsonewi on GitHub · 2026-11-26 18:51 UTC · original
What happens
scripts/play.ps1:21sets, for every run:and
-Build(:14) offersreleasebeside the defaultdiag, mapped totarget\release\victory.exe(:32). DRED, however, is compiled in only with thediagnosticsfeature:crates/victory-gpu/src/host.rs:1842and:1857readVICTORY_D3D12_DREDbehindcfg!(feature = "diagnostics"), and the documented build (README, "How to run it") is--profile diag -p victory --features diagnostics→target\diag.So under
-Build releasethe script sets a switch the binary cannot honour, and neither the script nor the log says it was ignored.Why it matters
Someone measuring with
-Build releaseand then reporting a device loss has no breadcrumbs, no markers and no fault address — the data #214 and #95 asked for — while believing DRED light was on because the launcher set it.Suggested fix
Either leave the diagnostics-only switches out when
$Build -eq 'release', or print one line saying which of the script's settings exist only indiagbuilds.AI use
Found by reading
scripts/play.ps1,crates/victory-gpu/src/host.rsand the README's build command. No script was executed.