Why it say array out of bounds in BP?

Nope. TMap will trigger a nullptr check if key not found, it won’t throw any “out of bounds” errors
Either way I believe OP just uses a TArray that is accessed by wrong index