Blueprint Runtime Error: "Attempted to access index 0 from array GameDate of length 0!
I keep getting this error within my script and I have no clue what it wants from me. I am attaching a screenshot from the engine . I am following the 3 Prong Gaming RTS tutorial! I appreciate all your help
You can't get item at index 0 from an array that has no items.
Array --> get length of array --> if length is more than 0 --> do code
Edit: This makes sure you never try to access something from an array that has no members. Now, your actual problem is that the array is empty in the first place and you need to look into whatever code that adds objects to the array.
Follow this question
Once you sign in you will be able to subscribe for any updates here