A. Check the game settings to ensure that the 'death' function is properly configured. Look for any options related to player respawn or death triggers and adjust them accordingly. If the settings are correct, try resetting the game to its default settings and see if the issue persists.
B. As a workaround, create a custom script that manually triggers the death function when the player falls outside the map. This can be done by adding a condition in your script that checks the player's position and calls the death function if the position exceeds the map boundaries.