Fixing issue with Hud not being valid
Problem:
This week we spent a lot of time playtesting and doing small fixes for issues we found. One of these small issues was found when loading in from the main menu into the game. I noticed that as soon as I stopped the editor playthrough I was met with a bunch of errors involving the hud. Specifically it could not find a reference to the reticle when trying to hide/show the interact text and change the reticle color.
Errors Image:
Solution:
To fix this issue, I began by breakpointing the error and checking the values of the reticle. It didn't take me too long to realize the issue was it was null and it could not run the show and hide functions properly. To fix this, I decided to add in a simple isValid? Node into each section the error was popping up at. After that I added another one for setting the reticle color.. With these checks in place, I was no longer getting errors when loading into the game.
Blueprint Fix:
- Christian Ortiz, VECCA Dev
Shutdown
Status | Released |
Authors | TheSenate2002, ekicks0, Vrixic, CameronEuston, Boomishhe, mditcharo |
Genre | Puzzle, Adventure |
Tags | First-Person, Singleplayer |
Languages | English |
More posts
- The FinallyApr 27, 2023
- Post Mortem VideoApr 27, 2023
- Finalization of GameplayApr 27, 2023
- Circuit Puzzle ChangesApr 27, 2023
- Touching Up SoundsApr 22, 2023
- Level MusicApr 22, 2023
- Getting people to play the gameApr 21, 2023
- Tuning the Lighting in Level 3Apr 21, 2023
- Static Mesh Mass ScaleApr 21, 2023
Leave a comment
Log in with itch.io to leave a comment.