I have a very simple for loop setup to get instance count of an HISM and use a random stream to get a random amount, then for loop through it. For some reason print strings reveal the loop is adding far more loops then necessary or straight up completing way early, not using all of them.
The array is not being edited during the loop, there are no delays and the function isn’t called somewhere else to mess up the isntances.
By this image the loop should go for a total of 12 times:
0-11 on the instance count, then loop through each one starting from 0. But by the strings we can see it stops at 6, why only half?
By this image the loop should go for a total of 5 times:
0-4 on the instance count, then loop through each one starting from 0. But by the strings we can see it stops at 5, why an extra?



