Jump to content

Game hangs if more than 255 elements exist (despite the changes attempting to support it)


asquared31415
  • Branch: Live Branch Version: Linux Fixed

This issue has been confirmed on Windows and Linux.

When mods add elements such that the total number of elements is greater than 255, the game will not load a save.

The bug happens because `GetElementIndex` in the native sim code was not properly updated to support more than 255 elements.

Attached is a mod that reproduces the issue by adding 100 elements.
Reproduction mod source: https://github.com/aki-art/ONI-Mods/tree/d3574ef027644290cad818b47913ddf0bb372409

ElementSpam.zip


Steps to Reproduce

1. Have mods that add enough elements (attached is an example mod that adds 100)
2. Start or load any save
3. The game freezes forever

  • Sad 1
  • Sad Dupe 2



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


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...