Minimap Example crashes when a player leaves
L.E.G.O.S.
The Minimap example in Example Central crashes whenever a player leaves the world.
I managed to find the cause and a solution for it. Most likely the fix just needs to be built to Example Central.
In the "MiniMap" graph in the OnPlayerLeft event, it's meant to find the player that left and set their slot in the _players array to null. However, the current graph seems to mistakenly set a null array to null. The _players array is never changed, and attempting to access a null object causes the crash.
The graph script functions as intended if this node is replaced with a reference to the _players array instead.
Log In