Calling TESForm#GetLocalFormID causes a crash on some forms.
Specifically, it happens because the result of auto file = GetFile(0); is a nullpointer.
I don't know what specifically causes this, but it happens e.g. for the player form (0x14). I suppose it might happen for all forms which already have a "local" id.
Calling TESForm#GetLocalFormID causes a crash on some forms.
Specifically, it happens because the result of
auto file = GetFile(0);is a nullpointer.I don't know what specifically causes this, but it happens e.g. for the player form (0x14). I suppose it might happen for all forms which already have a "local" id.