Page MenuHomeFeedback Tracker

[1.28] Setting fog in main menu segfaults the client when (re-)connecting to server
Assigned, NormalPublic

Description

If the main menu sets a fog value (e.g. as part of a custom intro scene), the client will segfault when (re-)connecting to the server at the point when the loading screen is about to disappear (after the spawn timer).

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Modding

Event Timeline

lava76 created this task.Jun 1 2025, 11:25 AM

Relevant files (RPT + minidump)

After further testing, the reason the segfault occurs seems to be when a custom scene sets a custom fog value, i.e. in a modded DayZIntroScene:

float fog = 0.15;
m_Weather.GetFog().Set(fog, 0, 0);

This seems to set the client up to segfault later. Not setting a fog value prevents the segfault.

Geez changed the task status from New to Assigned.Jun 3 2025, 12:46 PM
lava76 renamed this task from [1.28] Custom intro scenes segfault the client when (re-)connecting to server to [1.28] Setting fog in main menu segfaults the client when (re-)connecting to server.Sun, Jul 20, 10:10 AM
lava76 updated the task description. (Show Details)