0x00007ff7a160ff60 SolarlandClient-Win64-Shipping.exe!UObjectBase::IsValidLowLevelFast() […\Source\Runtime\CoreUObject\Private\UObject\UObjectBase.cpp:287]
0x00007ff7a097b257 SolarlandClient-Win64-Shipping.exe!UAnoSDK::DestoryInstance() […\AnoSDK\Source\AnoSDK\Private\AnoSDK.cpp:62]
0x00007ff7a143929b SolarlandClient-Win64-Shipping.exe!FModuleManager::UnloadModule() […\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp:585]
Here is my Exception Stack,I just used IsValidLowLevelFast to check pointer’s validity.
And My code is here ,it will be called when shutdownModule
void UAnoSDK::DestoryInstance()
{
if (Instance == nullptr || !Instance->IsValidLowLevelFast(false))
{
Instance = nullptr;
return;
}
Instance->UnRegisterAllCallbacks();
Instance->RemoveFromRoot();
Instance = nullptr;
}
Thanks a lot