lms7898 / ChildrenAmongGiants

0 stars 2 forks source link

CharacterHUD Compile Error? #2

Closed I-Thought-I-Was-Toast closed 8 years ago

I-Thought-I-Was-Toast commented 8 years ago

Twice I've come into Unreal and run the game only for it to claim there's an error in the CharacterHUD. I go to CharacterHUD hit compile to and it magically fixes itself. I have no idea what this "error" is or why compiling fixes it.

ntancredi commented 8 years ago

I believe the error is that it isn't able to detect whether we are using a game pad or a keyboard on start up because when I hit play with the error, I have both HUDs on screen

mfasman95 commented 8 years ago

Close but not quite. The error is tied to a cast to ThirdPersonCharacter. The code which hides sections of the UI is only executed on a succesful cast, and the error is that the code thinks for some reason the cast will fail. Either way, the error is no longer happening on my Development branch, so hopefully we don't have to care anymore.