Crosshair Not Spawing

I was working on the 127 lecture, where we find which point in the screen we are looking at.
Well when I changed the location to origin, suddenly my crosshair was not being added to the screen, whereas I am logging all the coordinates I am hitting.
Now I don’t know what relevant inform I should be providing.
But I checked the Blueprint Controller is parented to the C++ class. The BP is adding the UI to the game.
Anny suggestions

Well I attached a print statement to the BP begin play, its not triggering. So I guess that is a starting point.

Edit: Further checking and indeed here where the problem is because the C++ class is doing its work but not the BP class.

Well I figured out that I removed Super::BeginPlay() in my C++ code!

Privacy & Terms