Game: Longshot keeps crashing at launch #278
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/upscaling
beanstalk: approved @ 1697603
beanstalk: approved @ 2c5a62e
beanstalk: approved @ 4fd82b7
beanstalk: approved @ 64d6d09
beanstalk: approved @ 6f91fae
beanstalk: approved @ 70a78f9
beanstalk: approved @ 8015c9a
beanstalk: approved @ 8d361dc
beanstalk: approved @ 9d8356e
beanstalk: approved @ abf2227
beanstalk: approved @ d82f202
beanstalk: approved @ e5f1e40
beanstalk: approved @ ee8ab5f
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
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
testing wanted
ci: approved
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#278
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?
Longshot version
nightly-80-7315957c (source cdf3d9d8)
Channel
Nightly
What kind of problem
Crash, freeze or black screen
What happened
I click on Play in the launcher, window opens up, it says it's loading pipelines/shaders but then it closes automatically.
I'm on the latest AMD Drivers 26.10.1
Where in the game
At launch
How often
Every time
Graphics card and driver version
RX 9060XT
CPU, RAM and operating system
Ryzen 7 7700, 32GB DDR5, Windows 11 26H2
Changes from the defaults
On Discord I've been told to add this is inside longshot_env.txt, I didn't have this file so I created it:
RX_VK_MESH_SHADERS=compute
longshot_log.txt
Here are the logs.
Screenshots or video
Before you send it
Built it again, for the third time I think, with v3.0.0-rc.3, keeps crashing.
From #778 (closed as a duplicate of this one):
The launch crash still occurs on v3.0.0-rc.4 (source b784a40c), with the same RX 9060 XT / AMD driver 26.10.1 and Windows 11; the report includes a crash record showing an access violation at uptime 0. The user has RX_VK_MESH_OPT=1 set and reports CPU Ryzen 5 8600G.
I seem to have the exact same issue myself, built v3.0.0-rc.4, but with Nvidia RTX 3060 Ti and AMD Ryzen 7 5800X3D on Windows 10. Crash log looks practically identical to the one shared in #778, with a bunch of "mem" lines followed immediately by a crash dump.
From #814 (closed as a duplicate of this one):
The launch crash persists on v3.0.0-rc.4/source b784a40c with an RX 9060 XT 16 GB and Windows 11 build 22631, on a Ryzen 7 5700G system. The report confirms default game options and contains a 0-second access violation before a Vulkan device is named.
From #827 (closed as a duplicate of this one):
This launch-time crash also reproduces on v3.0.0-rc.4 (source b784a40c) with an AMD Radeon RX 9070 XT using AMD proprietary driver 25.10.36 (LLPC), Windows 10 build 19044, Ryzen 7 9800X3D, and FSR 4 loader configured. Unlike the prior reports' immediate startup failures, this run lasted 44 seconds and the crash record shows an access violation in amdvlk64.dll (+0x3f2807) after reaching Hyrule Field.
From #856 (closed as a duplicate of this one):
Additional report on RX 6700 XT with AMD proprietary driver 26.10.1, Windows 11, in Hyrule Field on v3.0.0-rc.4. The crash record is an unhandled exception with a backtrace through longshot_vk.dll; it occurred after 395 seconds of uptime.
The reports in this thread are at least three different crashes, from reading each one's log:
1. A crash 0 s into the start, before any Vulkan device is named: #778, #814, and very likely @Zopiac's (same as #778). Also #776 and #689, outside this thread. They all have the same signature:
exception 0xc0000005 (write 0x100000000000, guest 0), guest backtrace0x80c4afcc 0x83bb705c 0x83b7b47c 0x83b7a838 .... The cause is the game files: the build's romfs has noSystemfolder, soSystem/HeapSize/Product.Nin_Ounce_NVN2.HeapDef.byml.zsis missing and the game sets up its heaps with no room in them. Removing that one file from a complete romfs reproduces it exactly (RTX 5080), on any GPU and with any settings.What fixes it: check the build's
romfsfolder forSystem\HeapSize\Product.Nin_Ounce_NVN2.HeapDef.byml.zsandSystem\RegionLangMask.txt. A complete romfs has 186,583 files, about 23.8 GB. If they're missing, build again from a complete dump: the.nup, or a romfs folder that holds bothSystemandPack. Since #534 and #863 the builder refuses game files without them, naming what's missing.2. #827: a crash inside AMD's driver (
amdvlk64.dll+0x3f2807, a read of0xffffffffffffffff) 44 s in, with the renderer already running. That's a different crash.3. #856: an unhandled exception in
longshot_vk.dllafter 395 s in Hyrule Field. That's a different crash too.This issue's own report (nightly-80, RX 9060 XT) closed while its window showed the pipeline-loading screen, which is later than crash 1 and has no log here, so it can't be matched yet. @arukod, if it still happens on a current build, please attach
logs/longshot_log.txtfrom the game folder.#827 and #856 would be easier to follow up as issues of their own.