Thanks for pay attendtion.
I have a problem ,in packaged version,my game crash because of UDataTable::FindRow.but it doesn’t occur always.it’s a skill datatable,it works well at start,but a few minutes later,it crash.
below is crash log:
[2022.08.14-09.22.48:916][476]LogWindows: Error: === Critical error: ===
[2022.08.14-09.22.48:916][476]LogWindows: Error:
[2022.08.14-09.22.48:916][476]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
[2022.08.14-09.22.48:916][476]LogWindows: Error:
[2022.08.14-09.22.48:916][476]LogWindows: Error: [Callstack] 0x00007ff65016fbf7 XMXXZ.exe!UDataTable::FindRow() [D:\UE4\UE_4.26\Engine\Source\Runtime\Engine\Classes\Engine\DataTable.h:210]
[2022.08.14-09.22.48:916][476]LogWindows: Error: [Callstack] 0x00007ff650177424 XMXXZ.exe!AXMXXZCharacter::castSkill() [E:\UE4 projects\XMXXZ\Source\XMXXZ\XMXXZCharacter.cpp:845]
[2022.08.14-09.22.48:916][476]LogWindows: Error: [Callstack] 0x00007ff650178fce XMXXZ.exe!AXMXXZCharacter::checkPreInputValue() [E:\UE4 projects\XMXXZ\Source\XMXXZ\XMXXZCharacter.cpp:559]
[2022.08.14-09.22.48:916][476]LogWindows: Error: [Callstack] 0x00007ff65017a684 XMXXZ.exe!AXMXXZCharacter::mouseClick() [E:\UE4 projects\XMXXZ\Source\XMXXZ\XMXXZCharacter.cpp:511]
[2022.08.14-09.22.48:916][476]LogWindows: Error: [Callstack] 0x00007ff65436e402 XMXXZ.exe!FInputActionUnifiedDelegate::Execute() []
Only paste the last few logs.
in function castSkill,
here used a datatable ownedSkills ,which was assignment at beginplay.
ownedSkills = LoadObject(NULL, UTF8_TO_TCHAR(“DataTable’/Game/BP/skillBP/ownedSkills.ownedSkills’”));
here is UDataTable.h:210
it not always crash,and never happen in UE4 editor.
Only occur sometime in windows package.
i am totally no idea how to fix it…And will be very appriciate for any guide or help,thank you!