Reference ID
92670443-4602-03c9-cbe1-8eafa68cce2d
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Summary
While attempting to initialize multiple arrays within in a class, not all elements are included once checked in-game.
Steps to Reproduce
I have over 1000 lines of code broken into 12 arrays containing at least 1 array inside each of those. The arrays contain a set of categories that contain a set of questions for a game.
On Beginning the game loop and print the lengths of the categories and questions.
Expected Result
Arrays should be initiated to what they are set up to be initialized to. If it’s something to do with a game-tick then there is a more serious issue and verse needs to handle array initialization differently.
Observed Result
Lengths of arrays are consistently wrong after a certain point. Everything for about the first 800 lines is fine and shows the expected lengths.
Platform(s)
windows
Island Code
5794-2200-8636
Additional Notes
Willing to provide my source code. There is a “fix” where you initialize the arrays empty and create functions that to concatenate the categories 1-by-1 into the array.