Blueprint Runtime Error: Attempted to access index 0 from array Array of length 0! from function: ‘GetWidgetStyle’ from node: Set Style in graph: GetWidgetStyle in object: Inventory with description: Attempted to access index 0 from array Array of length 0!
Blueprint Runtime Error: Attempted to access index 0 from array Array of length 0! from function: ‘GetWidgetStyle’ from node: SetText (Text) in graph: GetWidgetStyle in object: Inventory with description: Attempted to access index 0 from array Array of length 0!
Help me with this please;(
You’re trying to fetch data from an empty array. Make sure it is populated first.
I can not fix it, can you help me by Skype, sharing the screen?
Not up for Skype, sorry.
But think about it, the array you are trying to get the data from is empty. How are you adding elements to the array? Show us a screenshot of you adding Widget Styles to the array.
This array is most likely not filled with anything, drag a wire and type length and print that int. If it prints 0, the array is empty. Follow it to the left and see where it’s coming from.