For some reason I cannot explain, this code is erroring out whenever I try and check for a nullptr.
Does anyone know how I can fix this? It specifically errors out inside that condition. But I know for a fact that these are not null because I'm using the debugger at the same time and can see that they're not.
Does anyone know how I can fix this? It specifically errors out inside that condition. But I know for a fact that these are not null because I'm using the debugger at the same time and can see that they're not.
Code:
if (Sidekick != nullptr && FollowerAIControllerClass != nullptr) { }
Unhandled exception at 0x00007FFBCBF9ABDA (UE4Editor-Engine.dll) in UE4Editor-Win64-DebugGame.exe: 0xC0000005: Access violation reading location 0x0000000000000000.
Comment