Page MenuHomeFeedback Tracker

Advanced Placement/Hologram Client Crashes
Closed, ResolvedPublic

Description

As of the earliest build for 1.21 changed to advanced placement seem to result in hard client crashes without any crash logs. This only seems to affect quite a handful of mods, especially some of the top popular mods that utilize this system. The crash seems to appear when ever advanced placement is toggled and the hologram is created. Upon attempting to debug this issue via breakpoints and step through, I can only get as far as the player's command handler, before the game forcefully crashes without any error.

Here are a couple of the mods that are affected:
https://steamcommunity.com/sharedfiles/filedetails/?id=1991570984
https://steamcommunity.com/workshop/filedetails/?id=1710977250
https://steamcommunity.com/sharedfiles/filedetails/?id=2878980498

I have several confirmations from several modders that utilize the same general approach to advanced placement kits, where the placed item is not the same type as the held item. Please look into this before 1.21 launches to stable, as a workaround would be much needed if the core issue does not fit within the development cycle, as we're not able to properly debug this issue with the tools provided.

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
General

Event Timeline

Tyson added a subscriber: Tyson.May 15 2023, 4:27 AM
Tyson added a comment.EditedMay 15 2023, 4:34 AM
	override string ProjectionBasedOnParent()
	{
		ItemBase item_in_hands = ItemBase.Cast(m_Player.GetHumanInventory().GetEntityInHands());	
		
		if (item_in_hands.IsInherited(rag_beehive_kit))
			return "rag_beehive";

		return super.ProjectionBasedOnParent();
	}

This is basically what i'm doing in one of my mods. If i comment it out, the Client does not crash anymore.
I also tried the config entry:

projectionTypename = "rag_beehive";

But it's also crashing Client.

C4r1zP added a subscriber: C4r1zP.May 15 2023, 6:23 AM
Geez changed the task status from New to Assigned.May 15 2023, 9:19 AM
Gilni added a subscriber: Gilni.May 15 2023, 10:01 AM
Relict added a subscriber: Relict.May 15 2023, 9:15 PM
Dumpgrah added a comment.EditedMay 17 2023, 1:33 AM

DayZ 1.21.1.21.156165

Issue Related above : Client Crash's as soon as the Hologram to place is called

Mod : Building Fortifications
Steam page : https://steamcommunity.com/sharedfiles/filedetails/?id=2670506982

Steps to Repeat :

  1. Spawn/craft in any mod Kit
  2. Take Kit into hands
  3. Trigger action " Choose Placement "
  4. Client Crash's

my kit p3ds have a Inventory selection being the sticks and rope, and a Placing being the hologram

Let me know if further information is needed

Rosaly added a subscriber: Rosaly.May 17 2023, 8:25 PM

Please BI fix this bug :(

at3nd0 added a subscriber: at3nd0.May 17 2023, 8:38 PM
Hajami added a subscriber: Hajami.May 17 2023, 8:47 PM
ArschGeier added a subscriber: ArschGeier.EditedMay 17 2023, 9:02 PM

Pls fix this Bug ,BI!!!

Hi BI

Very important issue for so many players.

Please check and fix

Thank you guys

perzeh added a subscriber: perzeh.May 17 2023, 9:33 PM

BI we need this fixed ASAP!

Dino added a subscriber: Dino.May 17 2023, 9:34 PM

Please BI, fix this bug!

Please, BI, we need a fix for this, thanks!

Necrow added a subscriber: Necrow.May 17 2023, 11:02 PM

This is really urgent - please fix this bug.
Thank you, guys!

Hope that BI can fix this Bug fast :)

RelaxX added a subscriber: RelaxX.May 18 2023, 7:09 AM

Plz fix this bug, BI

Pizza added a subscriber: Pizza.May 18 2023, 9:34 AM
Alife4 added a subscriber: Alife4.May 18 2023, 11:22 AM

Very important.
Pls fix

delete added a subscriber: delete.May 18 2023, 11:34 AM

Please BI fix this bug :(

Please BI fix this bug

Geez added a subscriber: Geez.May 18 2023, 11:51 AM

Hello everyone.
We are aware of the problem and we are looking into a possible fix.

Please BI fix this bug :(

This comment was removed by Nishikienrai.
lava76 added a subscriber: lava76.May 18 2023, 4:42 PM

Bitte Bi beheben sie diesen Fehler

pls fix this bug

Geez added a comment.May 19 2023, 10:59 AM

As mentioned in my previous comment, we are working on fixing the issue.
Spamming identical messages of "please fix this bug" will not speed up the process in any way.

Geez closed this task as Resolved.May 19 2023, 12:03 PM
Geez claimed this task.

Resolved for stable 1.21!

Please fix bug (joking)

Thank you for the heads up!

inkihh added a subscriber: inkihh.May 19 2023, 12:57 PM

@Geez Will you still deploy 1.21 on the 23rd even if no fix for this issue will be found?

@inkihh He said it will be in the stable update, but I personally dislike how it's handled by the Devs, that we cannot properly test our mods for compatibility to prepare for the update. @Geez Something to consider for future updates

@LBmaster this issue fell out of bound of the development cycle due to how late we reported it. In fact this issue existed in the first experimental build of 1.21 but no one tested or reported the issue until it was too late. By the time we reported it, the final experimental update was already approved and was prepped for publishing, and the fix for this was still in internal testing through QA. The timing of this doesn't fall on Bohemia but us for failing to utilize experimental to test our mods.