"set invalid index on array" warning, but it's only a problem in the build

If someone ends up here with the same problem…I had the same issue as the linked post. I needed to promote to variable rather than make a new slot structure,