Jump to content

Resizing map while game is paused may result in endless bug loop causing game to freeze


Recommended Posts

Posted

(Note : I do not know if there is a specific way to report bugs, I have done my best to give as much information as possible)

 

BUG : When shrinking the map with sandbox tools while the game is paused, game may start spamming the "Construction not possible while game is paused" error with the corresponding sound effect, resulting in loud constant noise and game freezing completely. This does not happen in the scenario editor (which, unsurprisingly, does not have a pause button).

GAME VERSION : v0.2.2 (298c9f5)

STEPS TO REPRODUCE :

  1. Open the game.
  2. Open any map containing objects (e. g. any scenario or saved game with progress). I've tested on "Build you own Six Flags park", "Six Flags Belguim" and "Carzy Castle" maps. The map's objects (trees, decorations, paths...) should preferably be close to its borders.
  3. Pause the game.
  4. Make sure the "Allow construction while paused" cheat is disabled.
  5. Enable sandbox mode.
  6. Open the map menu to access map editing tools.
    1. Recommended before next step : Lower your volume (yeah, I jumped when it happened to me the first time)
  7. Reduce the size of the map several times. It can go normally until the game has to delete a tile which has an object on it, in which case it will attempt to delete the object, causing the "Cannot build while game is paused" error and, apparently, making the game retry to delete the object again and again, resulting in a spam of the error's sound effect and in a complete game freeze. The game may or may not have had the time to display its last words in its ultimate render frame before it freezes : "Can't construct this here... Construction not possible while game is paused!"

TEMPORARY FIXES :

  • Make sure the "Allow construction while game is paused" cheat is enabled
  • Do not pause the game while shrinking the map
  • Clean the map's edges before shrinking it
Posted

Done! Sorry for the delayed reply.

The link to the GitHub issue, if anyone needs it : https://github.com/OpenRCT2/OpenRCT2/issues/9955

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...