Game: Deleting the LocalAppData shader store causes severe stutter without rebuilding shaders #2410

Open
opened 2026-11-23 21:33:20 +00:00 by BeanBot · 2 comments
Member

Reported on Discord

Longshot version and channel

Longshot v3.1.1, stable (source 63363428). Launcher 1.2.0 (portable).

What happened

After deleting C:\Users\<user>\AppData\Local\Longshot, the game does not rebuild shaders on startup and stutters massively. The reporter expected the portable version to keep its data portable and for the deleted shaders to be rebuilt. They report Longshot is not portable in this respect.

Steps to reproduce

Delete C:\Users\<user>\AppData\Local\Longshot, then start the game from either the launcher or the game executable.

System

NVIDIA GeForce RTX 3090, NVIDIA driver 572.83; 12th Gen Intel Core i7-12700 (20 threads), 32 GB RAM; Windows 10 build 19044.

Settings

Bug report shows Insert menu settings at defaults, with Auto quality preset, 1920x1080 output, Docked profile, NVIDIA DLSS and Quality 67% (1280x720) render resolution. LONGSHOT_NO_UPDATE_CHECK=1 is set.

Where and how often

Startup / subsequent gameplay stuttering after the cache deletion; frequency and in-game location not specified. The report says the run had no save loaded since starting, so the map/location is unknown.

Logs

Bug report supplied report.txt, longshot_log.txt, and longshot_log.1.txt from two consecutive runs. The current log reports 13 FPS samples (minimum 48, median 60, maximum 60), so it does not capture the reported severe stutter. It reads a 1,251,731 KB Vulkan pipeline cache and 45,571 KB merged play files, and loads 37,805 noted pipelines without building them. Crucially, it says the program cache's programs are in another shader store (77aeaad6, current store 4c11088b) and it “prepared again”; the log says NVIDIA's driver-cache limit is not known. The preceding log is from the same v3.1.1 source and portable build.

Still needed

Please confirm which exact contents/files were deleted under %LOCALAPPDATA%\Longshot, whether the report's current run followed that deletion, and whether the stutter is still reproducible. The supplied logs do not show the reported severe stutter in their FPS samples, and the game Bug report does not establish the precise deletion sequence or in-game location. The report does provide GPU/driver, CPU/RAM/OS and both game logs; these are no longer outstanding.

Longshot#1156 tracked NVIDIA shader-cache deletion causing repeated pipeline loading and was resolved for its reporter after a pipeline-cache save fix. Longshot#2316 tracks repeated NVIDIA pipeline-cache preparation on Windows stable; it concerns repeated preparation, whereas this log shows the driver pipeline cache loaded and the noted pipelines found, but reports that the program cache refers to a different shader store. This report specifically concerns deletion of %LOCALAPPDATA%\\Longshot and apparent behavior with portable launcher/game installs.

PR #1809 (first in nightly-622-fb14ba0b) introduced a shared shader store at %LOCALAPPDATA%\Longshot\shaders; this makes the log's different-store program-cache message relevant to the symptom, but does not establish a fix for deleting the store. PR #1418 (first in nightly-447-03788b38) fixes rebuilding every pipeline after an update that changes no shader; the submitted log already finds the noted pipelines in the pipeline cache, so it does not establish that this is the same issue. PRs #1926 (nightly-665-6e1521a7) and #1927 (nightly-695-96caf2f2) preserve pipelines across program-cache format and translator changes, respectively; the supplied log does not establish either condition. Launcher PR #243 (nightly-172-0bcccb02) raises NVIDIA's shader-cache capacity on supported Windows NVIDIA setups; the log says NVIDIA's limit is unknown, and this report is specifically after deleting Longshot's LocalAppData folder.

Reported on [Discord](https://discord.com/channels/1569849200047427645/1574535670955770026/1574536913963188366) ### Longshot version and channel Longshot v3.1.1, stable (source 63363428). Launcher 1.2.0 (portable). ### What happened After deleting `C:\Users\<user>\AppData\Local\Longshot`, the game does not rebuild shaders on startup and stutters massively. The reporter expected the portable version to keep its data portable and for the deleted shaders to be rebuilt. They report Longshot is not portable in this respect. ### Steps to reproduce Delete `C:\Users\<user>\AppData\Local\Longshot`, then start the game from either the launcher or the game executable. ### System NVIDIA GeForce RTX 3090, NVIDIA driver 572.83; 12th Gen Intel Core i7-12700 (20 threads), 32 GB RAM; Windows 10 build 19044. ### Settings Bug report shows Insert menu settings at defaults, with Auto quality preset, 1920x1080 output, Docked profile, NVIDIA DLSS and Quality 67% (1280x720) render resolution. `LONGSHOT_NO_UPDATE_CHECK=1` is set. ### Where and how often Startup / subsequent gameplay stuttering after the cache deletion; frequency and in-game location not specified. The report says the run had no save loaded since starting, so the map/location is unknown. ### Logs Bug report supplied `report.txt`, `longshot_log.txt`, and `longshot_log.1.txt` from two consecutive runs. The current log reports 13 FPS samples (minimum 48, median 60, maximum 60), so it does not capture the reported severe stutter. It reads a 1,251,731 KB Vulkan pipeline cache and 45,571 KB merged play files, and loads 37,805 noted pipelines without building them. Crucially, it says the program cache's programs are in another shader store (`77aeaad6`, current store `4c11088b`) and it “prepared again”; the log says NVIDIA's driver-cache limit is not known. The preceding log is from the same v3.1.1 source and portable build. ### Still needed Please confirm which exact contents/files were deleted under `%LOCALAPPDATA%\Longshot`, whether the report's current run followed that deletion, and whether the stutter is still reproducible. The supplied logs do not show the reported severe stutter in their FPS samples, and the game Bug report does not establish the precise deletion sequence or in-game location. The report does provide GPU/driver, CPU/RAM/OS and both game logs; these are no longer outstanding. ### Related Longshot#1156 tracked NVIDIA shader-cache deletion causing repeated pipeline loading and was resolved for its reporter after a pipeline-cache save fix. Longshot#2316 tracks repeated NVIDIA pipeline-cache preparation on Windows stable; it concerns repeated preparation, whereas this log shows the driver pipeline cache loaded and the noted pipelines found, but reports that the program cache refers to a different shader store. This report specifically concerns deletion of `%LOCALAPPDATA%\\Longshot` and apparent behavior with portable launcher/game installs. PR #1809 (first in nightly-622-fb14ba0b) introduced a shared shader store at `%LOCALAPPDATA%\Longshot\shaders`; this makes the log's different-store program-cache message relevant to the symptom, but does not establish a fix for deleting the store. PR #1418 (first in nightly-447-03788b38) fixes rebuilding every pipeline after an update that changes no shader; the submitted log already finds the noted pipelines in the pipeline cache, so it does not establish that this is the same issue. PRs #1926 (nightly-665-6e1521a7) and #1927 (nightly-695-96caf2f2) preserve pipelines across program-cache format and translator changes, respectively; the supplied log does not establish either condition. Launcher PR #243 (nightly-172-0bcccb02) raises NVIDIA's shader-cache capacity on supported Windows NVIDIA setups; the log says NVIDIA's limit is unknown, and this report is specifically after deleting Longshot's LocalAppData folder.
Author
Member

Files from the Discord report:

Files from the Discord report: - [launcher.log](https://git.magicbean.dev/attachments/d0171753-0587-4628-a49a-04cadf561f18)
Author
Member

Updated with more from Discord: Added the game bug report, GPU/driver, CPU/RAM/OS and settings; extracted the pipeline/program-cache messages and FPS summary, and updated what remains unknown.

Files:

Updated with more from [Discord](https://discord.com/channels/1569849200047427645/1574535670955770026/1574540195309682698): Added the game bug report, GPU/driver, CPU/RAM/OS and settings; extracted the pipeline/program-cache messages and FPS summary, and updated what remains unknown. Files: - [report.txt](https://git.magicbean.dev/attachments/166b9b51-aa1c-4a76-aa20-6e47636976df) - [longshot_log.txt](https://git.magicbean.dev/attachments/33f9b278-a8ff-430b-9a9e-8f58975cf32e) - [longshot_log.1.txt](https://git.magicbean.dev/attachments/a479f310-cee5-4079-8899-00099963b8e3)
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
MagicBeanDev/Longshot#2410
No description provided.