Errors on Playing Game and UE_LOG not Responding

I’ve double checked code changes for The Observer Pattern and am 99% sure it matches Ben’s. But when I play the game to test, I get ensure errors related to Begin Play on the Aiming Component, and the UE_LOG statement to confirm that OnDeath is broadcasting never produces a message.

Here’s a shot of the error messages:

And following relevant code for lecture changes:

tank.h:

tank.cpp:
observerTankcpp

TankAIController.h:
ObserverTankAI_h

and TankAIController.cpp:

TankAIController.cpp has #Include for tank.h

Any ideas?

Lack of log messages solved. I had removed AI Controller from each AI Tank to test health bar. When AI Controller was added back, death of AI Tanks led to log message

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms