If you did this
You can also go to Project Settings → Engine → General Settings → Max Loop Iteration Count and increase that number if you believe you have an array larger than 1,000,000.
You can also go to Project Settings → Engine → General Settings → Max Loop Iteration Count and increase that number if you believe you have an array larger than 1,000,000.