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

I did read the question, but perhaps I didn’t understand it.

I created a new class and added the following to the header.

240162-1.png

I then added the rest in the cpp file.

Then I created the BP and added it to my level with the following BP in the actor.

Here’s the output.

240165-4.png

If I still don’t understand the question or this doesn’t work I apologize.