Weird, can’t really think of any case that should happen, but…
just in case look back and step thru starting around 6:50:
***make sure you used GetAllActorsOfClass (not just some actors, lol) & check the drop down list & make sure you have it set to the ‘MyCharacter’ Class(‘Or’ whatever you named your character or class that has the variable in it)
this is an easy mistake to make if you click out of it too fast etc. it doesn’t get set and the rest fails.
***and make sure you use whatever your character class is in the cast to the name of your character, if it’s actually MyCharacter BP then use that, the reason I said to check it is because I used another name & still had the MyCharacter BP in a project I was messing around in the other day & actually made this mistake and casted to the original MyCharacter BP instead of mine.
*** make sure you drag out from the blue pin of the cast to mycharacter node and promote to variable (or I think you can just right click on it & promote to variable too) this sets this variable to the MyCharacter object type
*** when you right click n get the character reference (the promote to variable from the cast you just made) pull off of it and just type DiscAlive (this way if there is any misspelling->whatever variable you did create should show up)
I know this sounds redundant and a pain but best way to step back thru it, often it’s just a mistype or some little thing that messes stuff up. It’s really easy to do especially when trying to follow someone else’s work. Also take your time when you are stepping back thru your code, it’s so frustrating when something doesn’t work right that we get in a rush & I have even overlooked some simple mistake 2 or 3 times.
It’s always the little things that get ya!