So i’m working with widgets in C++, and for some reason, it gets to a point when the widget reference cannot be accessed, because its Name=Invalid:
I have no idea why this is happening. I have checked all the includes on other files, including the Target.cs, PlayerController and MyGame.h and all the includes appear to be correct.
Can someone tell me why this is happening and how to make it stop?
Here’s the constructor inside PlayerCon.cpp:
Thanks in advance!!