I’m currently learning C++ Unreal and seems like when I do this certain if statement it absolutely trashes itself. I’ve given pointers to the selected objects already yet I’m seeing Exception Thrown. Just a little confused of what’s going on is all, and would love an explanation on how a certain solution works, thanks.
OpenDoor.cpp
Thank you for replying, and it seems like I found a completely unexpected solution. As you suggested about references, I forgotten that I had copied over the doors with the same component, and none of them had references. Rookie mistake I must say haha, thanks for helping out, and will take that advice as well as I continue on my journey.
It can’t find the pointers you alocate, 0x000 is an empty address. Meaning the data you were seeking at the specific address could not be found.
This means for some reason your pointers are empty and the pointer variable allocates invalid data that is partial or no data at all.