# Dedicated server via Zen Store with -nothreading crash due to data load failure 

**URL:** <https://forums.unrealengine.com/t/dedicated-server-via-zen-store-with-nothreading-crash-due-to-data-load-failure/2723264>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [March 30, 2026, 3:21pm UTC](https://forums.unrealengine.com/t/dedicated-server-via-zen-store-with-nothreading-crash-due-to-data-load-failure/2723264 "2026-03-30T15:21:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [March 30, 2026, 3:21pm UTC](https://forums.unrealengine.com/t/dedicated-server-via-zen-store-with-nothreading-crash-due-to-data-load-failure/2723264/1 "2026-03-30T15:21:08Z")

</div>

Hello,

while trying to enforce truly single threaded dedicated server, testing with -nothreading parameter. In combination with ZenStore enabled it fails to load any data on boot.

AI helped analyze it with following outcome:

"The bug: FStorageServerPackageStoreBackend::FAsyncInitRunnable (in StorageServerPackageStore.cpp:86) fires off a thread to populate the package store entries. Under -nothreading, FRunnableThread::Create() returns nullptr because GetSingleThreadInterface() isn’t implemented. The code silently triggered the completion event without ever calling Run(), leaving StoreEntriesMap empty, so every package lookup returned Missing.

The fix: One-line change — call Run() synchronously when the thread can’t be created, instead of just triggering the completion event. This is arguably a bug in the engine’s -nothreading support for ZenStore.

The two IoDispatcher thread guards (StorageServerIoDispatcherBackend.cpp and IoDispatcher.cpp) are defensive but not strictly required for this fix — the synchronous inline paths already existed. Worth mentioning to Epic though, as those thread creations also silently fail under -nothreading."

Proposed changes:

Engine\Source\Runtime\StorageServerClient\Private\StorageServerPackageStore.cpp

 ![image.png.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/9/709520c41072330978705a7ba600fc74c42c1f49.png)

Optional:

Engine\Source\Runtime\StorageServerClient\Private\StorageServerIoDispatcherBackend.cpp

 ![image.png.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/f/c2fa3d99dc2d8d7fbabb791de5cb321098868921.png)

Engine\Source\Runtime\Core\Private\IO\IoDispatcher.cpp

 ![image.png.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/d/4cd37afd6540f609976bc08783b733638cc459b8.png)

I wonder if the above proposed changes(they work, server boots/works successfully with it) are legit and or if you would be interested to look into it and do the fix on your side.

Also part of this is question how well maintained/tested is the -nothreading parameter ? And if it is a legit option to consider for shipping in order to force true single threading on dedicated server.

Thank you.

Jiri

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [March 30, 2026, 3:21pm UTC](https://forums.unrealengine.com/t/dedicated-server-via-zen-store-with-nothreading-crash-due-to-data-load-failure/2723264/2 "2026-03-30T15:21:13Z")

</div>

**Steps to Reproduce**  
Run Dedicated Server cooked with ZenStore enabled, with -nothreading command line parameter. Observe immediate crash on boot when engine fails to load any data.

---

<div class="post-metadata">

**Author:** ![MoreOrLessRandom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MoreOrLessRandom](https://forums.unrealengine.com/u/MoreOrLessRandom)\
**Post date:** [April 21, 2026, 2:36am UTC](https://forums.unrealengine.com/t/dedicated-server-via-zen-store-with-nothreading-crash-due-to-data-load-failure/2723264/3 "2026-04-21T02:36:21Z")

</div>

Thanks for the report. We generally have test coverage for zen streaming for client platforms, but less so for server platfoms (and not for nothreading execution of servers), so this wasn’t caught. I’m going to take the one line fix and the two other changes I’ll leave out now even though I agree they are reasonable defensive changes.
