ZHMModSDK icon indicating copy to clipboard operation
ZHMModSDK copied to clipboard

[Editor] Crash - JSON serialising ZEntityPropertyReplica

Open HRSoftware opened this issue 8 months ago • 0 comments

The game will crash when attempting to view the properties of an EntityPropertReplica::ZEntityPropertyReplica.

Looks like it's related to serialising a TArray<ZString> with WriteSimpleJson

ZHMPtr::GetPtr Image

In ZHMArrayTypeInfo::WriteSimpleJson, the object ptr being "12" (in this case) raises some flags for me

Image

Steps to reproduce the crash:

  1. Make sure the editor server is enabled
  2. Click an NPC
  3. Select the EntityPropertReplica::ZEntityPropertyReplica entity
  4. -CRASH-

HRSoftware avatar May 06 '25 10:05 HRSoftware