Ok. I guide a project related to a bus simulator of Bogotá, where the game offers the player the option to choose numbers and plates of real life to your liking, for which it works with a ModuleScript that serves as a database.
What the user must do: enters the place, by means of proximityprompt activates the ui spawner of vehicles, and once he selects the car, another script will be in charge of obtaining the plates that appear for a given key with what is in that module. Creating for each result, a different frame that shows the data to the player, and can be selected to complete the spawn as such.
The thing is that, everything was going well, in spite of the fact that that module has a little more than 12.000 lines, there was never any problem. And it has been working for more than 3 months, although it is true that sometimes it could freeze for a maximum of 5 seconds while processing the information. The related scripts were not altered either, until after the update was received, when the writed in cursive process is finished, the app crashes. This has been tested in several PCs between Windows and Mac with different -and good- specifications and users and in all of them it happens, however in mobile devices nothing happens.
The logs indicate that there is a hing at line “85”, which contains no more than a for loop. It seems to involve just trying the loop, as in Studio it freezes temporarily but it does indicate that the script exhausted execution time, although it is evident that it is not able to create frames either. It also talks about a “Histogram (ReactRootPeriodTask) value not valid (nan or non-existent)”.
Expected behavior
Video of successful process on mobile (iPhone 13 - iOS 18.3.2)
Video of hing on Windows 11
Video of hing on macOS
NOTE: The game freezes but the only thing you can do is to move the cursor. If the database has relatively little data, it works correctly, however I suspect that it is a engine memory problem because I repeat, despite being so much information stored in tables with three values: plate, numbering and id of Image Asset containing the numbering, it always worked fine.
I appreciate a timely management, as this is part of a major renovation of the current game open to the public, which we have to launch this month due to contract issues, and this hurts us quite a bit. I will be willing to do whatever is required.
Without being more, I wish you a nice rest of day (:
A private message is associated with this bug report