No Building Destruction

by Northgate_

1.0.2

Fixed a potential source of crashes. See below for logs and a brief explanation.

ShouldAllowDestruction() accessed prefab metadata without null-guarding. On some dedicated servers, GetPrefabData() or GetPrefab() can return null. The method returning false also prevented OnPostInit from running, leaving base state potentially uninitialized and causing errors on OnDamage.

SCRIPT    (E):    -- Stack trace --
20:41:40.899   SCRIPT    (E):    ShouldAllowDestruction() scripts/game/Destruction/NCM_DestructionMultiPhaseComponent.c : 25
20:41:40.899   SCRIPT    (E):    OnDamage() scripts/game/Destruction/NCM_DestructionMultiPhaseComponent.c : 48
Game Version
1.4.0.55
Created
Sat, 04 Oct 2025 13:22:18 GMT
Last Modified
Sat, 04 Oct 2025 13:22:19 GMT

1.0.1

Game Version
1.4.0.53
Created
Mon, 01 Sep 2025 17:31:13 GMT
Last Modified
Mon, 01 Sep 2025 17:31:15 GMT

1.0.0

Game Version
1.4.0.53
Created
Mon, 01 Sep 2025 17:30:47 GMT
Last Modified
Mon, 01 Sep 2025 17:30:50 GMT

Showing 1 to 3 of 3 results

Rows per page