Game States & U - William Chung - Aug 15, 2025




Hello all, my name is William and I'm one of the developers of hyper track.
The Problem
The main menu is a very important part of our game, this is how users like you interact with the game. So, as you can Imagine any problems with the system would be catastrophic. In our coding process the menu besides to be quite difficult from having the mouse disappear if you don't click a button to Causing errors with the AI. We even had problems granting users control Off their vehicles.
This would be a catastrophic Bug on its own but sometimes if you took too long to race the game would crash whenever you cross the finish line. This is a game breaking bug and had to be fixed as quickly as possible
Problem Solution
After some debugging and researching my past projects, I found the missing piece, The first problem was quite simple the first thing I needed to do was set show mouse to true in the player controller for the menu next I had to set the input mode to UI only. This fixed the bugs in the main menu, but I still had some more issues when switching to end game. After Noticing that error I decided to look through all the player controllers and made sure that the input modes were set correctly the problem I had with switching back to the menu had nothing to do with the game incense at all. You see at the start of the level I created results widget this widget is responsible for sending you back to the menu when you crossed the finish line. After a while of debugging, I figured out what was happening the widget was being destroyed by the automatic trash removal of Unreal Engine the only way to stop that was to make the widget a UProperty. After that the results screen started working again, the game stopped crashing when returning to the main menu
Get Hypertrack
Hypertrack
Race using items across diverse tracks and environments.
Status | In development |
Authors | SyntaxErrorStudios, GMatrixGames, willie2000_og, UnluckyProdigy, SirAppleV |
Genre | Racing |
Tags | Unreal Engine |
More posts
- It’s OK to Lose - William Chung37 days ago
- Changelog v0.0.337 days ago
- From None to Done: Making Keybinds Work Everywhere - Anthony B. - Aug. 28, 202538 days ago
- Why UI Humbled Me in v0.0.3 - Jason F. - Aug 28, 202538 days ago
- Back from the Backend - GK - Aug. 28th 202538 days ago
- Split the screen double the work - William Chung - Aug 22, 202543 days ago
- Teaching Players and AI to Read the Road - Jason F. - Aug 22, 202543 days ago
- When the Music Stopped - Anthony B. - Aug. 21st 202544 days ago
- v0.0.2 Changelog - August 21st 202545 days ago
- You spin my car right 'round - GK - Aug. 21st 202545 days ago
Leave a comment
Log in with itch.io to leave a comment.