Blueprint to C++ and Engine Freezing?

I doubt it’s this but remove the 1 from this
index = FMath::RandRange(1, Available.Num() - 1);
Should be
index = FMath::RandRange(0, Available.Num() - 1);