Issues have arrived... The Search for a Reliable Solution to Returning Players in Unreal Engine.


Greetings, fellow game developers!

Chris here.

Today, we're going to discuss an issue that's been causing me quite a bit of trouble lately. As some of you may know, returning players to their original location after a mini-game can be a tricky business. My original idea was to store a reference to the tile and simply place the player back there when the game was over. Unfortunately, Unreal Engine had other plans. The tiles (and their references) were being destroyed when changing maps, making it impossible to use them as a reference point for returning players.

After some trial and error, I decided to switch my approach and store the tile name instead. This allowed me to loop through all the tiles and find the correct one to place the player. While this solution works well MOST of the time.  It still has too many flaws to use reliably.

I tried creating an index variable for each tile and setting them to unique values, hoping that would solve the issue, but it proved unsuccessful. It's clear I need to try a new approach.

Despite these setbacks, I'm confident that I will find a solution to this demon. I will be sure to update you all once I have a breakthrough. In the meantime, keep on coding and don't let setbacks discourage you!

Get Party Panic!

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.