State
Hundreds of P3D Objects Missing Since Latest Update
Since the latest DayZ update, hundreds of P3D objects, including trees and rocks, are no longer rendering correctly across servers.
The objects are completely invisible, with only their collision hitboxes remaining. This means players are colliding with invisible objects, leaving servers in a complete mess and significantly affecting gameplay.
This appears to be a widespread issue rather than a problem with one specific server and needs urgent investigation.
1. Launch DayZ on PlayStation with the latest game update installed.
2. Join a server running the latest version of DayZ.
3. Travel around the map and observe areas containing trees, rocks and other environmental objects.
4. Notice that numerous P3D objects are completely invisible, despite their collision hitboxes still being present.
5. Attempt to walk or drive through these areas and encounter invisible obstacles.
Expected result: All trees, rocks and environmental objects should render correctly with visible models and textures.
Actual result: Hundreds of P3D objects are missing visually, leaving invisible collision hitboxes throughout the map.
Frequency: Persistent since the latest update and reported across multiple servers.
Activity
I've been investigating this issue since the DayZ 1.30 update and have now successfully developed and tested a working fix for the affected P3D objects.
Affected version: 1.30.164078
Affected platforms: PlayStation, Xbox and potentially PC servers using vanilla JSON Object Spawner placements.
After examining the updated DayZ scripts, asset configurations, server logs and conducting multiple in-game tests, the issue appears to originate from how the vanilla Object Spawner creates static .p3d assets.
Findings
Tested 21 custom Object Spawner JSON files containing 66,815 P3D placements.
Verified all 377 unique .p3d asset paths referenced by these files still exist within the updated game assets.
Confirmed that the server successfully loads and processes the JSON files without reporting spawning failures.
Identified that affected P3D objects were being created server-side but were not correctly visible to connected clients.
Isolated testing showed that objects created using the existing vanilla call had no network IDs, whereas changing createLocal to false resulted in network IDs being assigned.
Confirmed that invisible rocks, trees, bushes and vegetation could retain collision despite not being visible to players.
Identified cause
Within the vanilla ObjectSpawner.c, the following line handles .p3d asset spawning:
object = g_Game.CreateStaticObjectUsingP3D(item.name, vector.ArrayToVec(item.pos), vector.ArrayToVec(item.ypr), scale, true);However, the native function is defined as:
proto native Object CreateStaticObjectUsingP3D(string p3dFilename, vector position, vector orientation, float scale = 1.0, bool createLocal = false, bool objSpawner = false);The true argument is being passed to createLocal, meaning these objects are created locally rather than being correctly replicated to connected clients.
Confirmed working correction
object = g_Game.CreateStaticObjectUsingP3D(item.name, vector.ArrayToVec(item.pos), vector.ArrayToVec(item.ypr), scale, false);Changing createLocal from true to false successfully resolves the visibility issue in our PC server testing.
I developed a small override mod that replaces the affected Object Spawner behaviour while preserving existing JSON loading, object positions, rotations, scale and normal class-based object spawning.
The fix has now been fully tested in-game, with previously invisible rocks, trees, bushes and other P3D assets successfully restored and visible to connected players.
The server processed all 21 JSON files, creating 66,815 P3D objects and 39,969 class-based objects, with zero reported creation failures.
This issue affects direct .p3d model placements loaded through cfggameplay.json using WorldsData.objectSpawnersArr, rather than normal class-name objects created through CreateObjectEx().
The successful PC workaround provides strong evidence that the vanilla createLocal parameter is responsible for the visibility regression introduced in DayZ 1.30.
Temporary workaround for PC server owners
To help other server owners affected by this issue, I've released the working override mod on Steam Workshop:
CDS DayZ 1.30 P3D Object Spawner Fix
https://steamcommunity.com/sharedfiles/filedetails/?id=3821589105
PC server owners can install this mod as a temporary workaround until an official fix is released.
It automatically restores affected P3D objects using existing Object Spawner JSON files, without requiring owners to modify or rebuild their custom placements.
Please note: This workaround is for PC servers only. Unfortunately, console server owners will still require an official fix from Bohemia Interactive.
Hopefully these findings and the confirmed working correction help the development team identify and resolve the underlying issue for all platforms.
Thanks for looking into this.
Hey, adding more info here since this is still broken for us and it's a big deal for console servers.
We run a few PS4 community servers on Nitrado. Our main Chernarus server has around 13,300 rocks, trees, bushes, grass and ivy placed through objectSpawnersArr using p3d paths (DZ\rocks\..., DZ\plants\..., DZ\plants_bliss\...), spread over 56 of our custom spawner files. That's years of work. Since 1.30 none of them show up for players, but they're still there. You can't see them but you can hit them, I crashed straight into one of my own rocks earlier today. Everything placed by class name in the same files (buildings, walls, props) still shows fine, and the server doesn't log any error for the p3d ones, so as far as the server is concerned they spawned.
I think I found why. In scripts/3_game/objectspawner.c, SpawnObject():
1.29.163709:
object = g_Game.CreateStaticObjectUsingP3D(item.name, vector.ArrayToVec(item.pos), vector.ArrayToVec(item.ypr),scale);
1.30.164078:
object = g_Game.CreateStaticObjectUsingP3D(item.name, vector.ArrayToVec(item.pos), vector.ArrayToVec(item.ypr),scale, true);
The 5th parameter of CreateStaticObjectUsingP3D in game.c is createLocal. So every p3d object from the object spawner now only gets created on the server and never gets sent to clients. That's exactly what we're seeing: server side collision, nothing on screen. That extra argument is the only change to the p3d branch between 1.29 and 1.30, and OnGameplayDataHandlerLoad only runs on the server, so nothing ever creates them client side either. It's still the same in the 1.30.164200 scripts you put up in dayz-script-diff.
What we tried before posting this:
- Switched the paths to the matching config classes (Static_rock_monolith1, TreeHard_t_PiceaAbies_3f, BushSoft_b_betulaHumilis_1s etc). We tested all 186 rock/tree/bush classes our files would need on our test server and every single one failed with:
ENTITY (E): Type 'TreeHard_t_PiceaAbies_3f' must be inherited from class 'ObjectTyped'
Object spawner failed to spawn TreeHard_t_PiceaAbies_3f
StaticObj_ classes in the same file (StaticObj_stone4_sand, StaticObj_Roadblock_CncBlocks_short) spawned fine, so the class name route just isn't open for vegetation.
- Went through every cfggameplay.json setting and every field the spawner json reads (name, pos, ypr, scale, enableCEPersistency, customString). Nothing touches this.
- On console we can't use init.c or mods, so there's no way around it on our end. The only natural looking stuff that can be spawned by class is the small sand stones, fallen beech trees and stumps, and a couple of embankment pieces. That doesn't come close to replacing what we had.
Possible fixes:
1. Easiest by far: take the true back out (go back to the 1.29 call). It's one argument, and it's exactly how it worked in 1.29.
2. If creating them locally was on purpose (performance?), please make it optional. A per-object flag in the spawner json like enableCEPersistency (something like "createLocal": false), or a setting in cfggameplay.json, would keep your default and let us opt out.
3. Or make the rock/tree/bush classes creatable through the class name branch, so we can convert our files over.
Option 1 or 2 fixes it for every console server that built with p3d paths, and on console the object spawner is the only way we have to place trees or rocks at all. Right now a lot of console communities have invisible walls all over their maps that players keep running and driving into.
Happy to test anything on our test server if it helps.
Thanks
This is the second biggest issue to hit community servers since 1.30. A fix for this should be priority
Let’s hope this stuff doesn’t remain unresolved, like the Hummer hoods.In today’s patch, there’s still no solution for the P3D files... the Hummer hoods are a single piece—they can’t be removed, unlike a few years ago.
Two years ago they could be dismantled, but let’s not get sidetracked... how come it was stated that this issue would be fixed in today’s hotfix, yet it still hasn’t been resolved?
you guys really need to do a better job at testing. its insane that some of these bugs made it to release. its almost like you guys make changes on the fly and do not do any testing whatsoever. like seriously who would change how p3ds spawn and then not ensure they work??
Got the same issue on Xbox and has potentially ruined 4+ yrs of work. As it stands it's near on unplayable and I mean with the customs in place because you can't see them. My server went from a medium constant population (20 slot) to like 3 regular players now. I feel like I'm just throwing money away but I have to because of all the bloody time and effort put into it.
It’s easy to use others as an excuse to justify your own shortcomings... You’re so incredibly "smart" that you respond with a clown emoji to one of your own customers—someone who owns three consoles on which they’ve purchased all your maps, plus a PC where all your maps are malfunctioning... Well done, you’re number one! What a fantastic advertisement for such a "great" company... You guys are the best.
So, given that you are the only "reliable source," shouldn't you have fixed the issue where bases get destroyed during dismantling? It was on your official list... I’m not the clown here—I’m the one who spent hundreds of euros on your game. You’re the clowns, desperately trying to make excuses for your own incompetence.You are not signed in. Please sign in to see more details and to reply.
State