Skip to content

FAQ and troubleshooting

The first hour

Esc stops my game in the editor.

In Play In Editor, Esc belongs to the editor and ends the session. Play a Standalone Game (Play menu) to get the pause menu, or remove Esc from Stop in Edit > Editor Preferences > Keyboard Shortcuts, section Play World.

I pressed Play in the editor, but my world did not change.

Play pressed directly on a map saves to ZS_World_A and ZS_World_B, not to a world of the menu. To play a named world, open L_Boot, press Play, then go through CONTINUE or LOAD.

My friend cannot join my world.

A world started with NEW GAME is played alone, and nobody can join it. Start it with HOST instead, and pick the same world with the WORLD arrows.

I changed a value in a PDA_ class and nothing changed in play.

PDA_ is the class, and DA_ the Data Asset the game reads. The DA_ probably overrides that field, and its value always wins over the class default, so change it there. DA_Vision_Default and DA_Needs_Default are two shipped instances that do override.

Setup and packaging

Do I need Visual Studio?

Not to open, edit or play the project, which is Blueprint only. You need Visual Studio's C++ tools only to package a build.

Packaging fails, although the project has no C++. Why?

Packaging needs Visual Studio's C++ tools (the "Desktop development with C++" workload, or its Build Tools) and a Windows SDK. CommonUI, Chaos Vehicles and Motion Warping are plugins the engine does not enable by default, so Unreal compiles a game target for the project even though it has no code of its own.

Why is the lighting so flat? Where is Lumen?

Lumen and ray tracing are off in Config/DefaultEngine.ini, and the art is flat-shaded. One BP_WorldEnvironment actor lights a played map with a sun, a moon, a sky light and a fixed exposure that follow the hour and the weather. To grade your own map, use its SceneGrade volume, which sets the contrast, the saturation, the vignette and the ambient occlusion. Substrate is on, and the materials are written for it.

My survivor disappears behind a wall, a roof or a tree.

He should not. Outside, a surface between the camera and the survivor opens a small dithered disc around him when its material instance has CutawayEnabled at 1, as walls, roofs, vegetation and cars have by default. Thinner props draw his silhouette through M_PP_PlayerSilhouette. On a map of your own, check that the post-process volume lists that material with a weight of 1, and that your material instances have CutawayEnabled at 1.

Maps and zombies

The zombies on my map do not move.

A map of your own needs a NavMeshBoundsVolume over it, or the zombies do not move at all. Pine Hollow generates its navmesh dynamically, so that a wall built during play blocks pathing. A large World Partition map needs its navmesh built with every cell loaded.

My new zombie never appears.

A new archetype is used only once something spawns it. On Pine Hollow, add it with a weight to the Archetypes of a population volume and start a new world. On a small map, add it to a point of the spawn plan, or drop a BP_Zombie in the map and set its Def. Register it in DA_ZombieRegistry_Default too.

Where is the zombie art?

None ships. The zombies wear the same two Epic mannequin bodies as the survivors, with a zombie skin. Point PDA_ZombieDef.BodyVariants at your own meshes.

Data Assets

My new item disappears after a save and a load.

It is missing from DA_ItemRegistry_Default. The save finds an item by its id through that registry, so an item that is not listed is dropped on load, with one line in the Output Log: Item id '…' read from a save is not in the item registry. Add it, and give it a unique ItemSaveId.

My own mesh is never highlighted when I come close.

The proximity highlight sets a Highlight scalar parameter on the materials of the actor, and a material that does not declare it ignores it without a warning. Add a Highlight scalar to your material, or make it an instance of M_Building.

Co-op

My LAN game does not show in the JOIN list.

The list only finds games on the local network, so both PCs must be on the same one. It names the host's machine (<host machine name>-<id>), not the name typed in the host menu. Press REFRESH to search again, or type the host's address and press JOIN. Two separate PCs have not been tested yet.

A friend is refused with "The host runs a different version of the game."

The two games do not have the same ProjectVersion, which is in Edit > Project Settings > Description. Give every player the same build, and increase ProjectVersion at every release you publish, so that an older build is turned away.

How do I test co-op while I change the template?

With two players in Play In Editor: a host in the viewport and a client in its own window, with network emulation.

Can my friends join over the Internet?

Yes, by address. The host forwards UDP port 7777 on their router to their PC, and the others type the host's address in the JOIN menu. There is no NAT traversal and no lobby service. A host who cannot open a port can use a virtual local network tool such as ZeroTier, Tailscale or Radmin VPN. This path has not been tested yet.

Does it work with Steam?

No. The template plays over the local network and by direct IP. Add Steam yourself shows where Steam plugs in.

Why does the game not pause in co-op?

The pause menu stops the world only while the host is alone. With anyone else connected it opens without pausing anything, and a line under its title says so. Speeding time up is also for a host playing alone.

Is there a dedicated server?

No. Co-op is hosted by one of the players, whose game is the server. A game holds up to four players by default, and MaxPlayers in DA_Session_Default changes that.

Saves

Where are the saves?

In the player's own Saved/SaveGames/ folder. Each world has two files, ZS_World_<id>_A and ZS_World_<id>_B, written in turn, and a line in the index ZS_Worlds. The local profile is SG_LocalProfile, and the host's ban list is the ZS_BanList slot. In co-op, only the host saves the world.

How do I save the state of an actor I add?

The way the fuel pumps keep their stock: a struct keyed by the actor's SaveId, an array of it in SG_World, and a collect and a restore function in AC_WorldPersistence. The steps are in Add a replicated action.

Updates

How do I take a new version of the template into my project?

A new version comes as a new project. It does not touch the one you work in, and no tool merges the two, because Blueprints and Data Assets are binary files. Plan for it from the start:

  • Keep the shipped project as it came, next to yours or in your version control, to compare a new version against.
  • Add rather than change. A new item, zombie, recipe or preset is a new Data Asset, and your own numbers are best kept in a DA_ of your own.
  • Keep a list of the shipped assets you change, or let version control keep it.
  • When a version comes out, read its notes on the Changelog, copy over the assets you never changed, and redo your changes by hand in the others.

A world saved before a change loads unless SaveVersion of SG_World was raised.

Content

Why do some sounds sound so bad?

The ninety-two sounds are a starter set, all cut from public-domain recordings (CC0) and levelled to sit together. Replace any of them by reimporting over the asset, or by pointing its Data Asset field at your own sound. An empty field is silent and raises no error.

Are the automated tests in the package?

No. The tests the systems were developed against stay in development levels, and the package holds no test level and no test asset. To check a change in co-op, play it with two players in the editor. Known limitations names the one test hook that stays in the game.