Same pointer is valid in BP but null in C++

It’s kinda hard to debug code without seeing any. Could you post the code on pastebin?