Can't solve "Assertion Failed: Array Index Out of Bounds" Error

I’m running into this exact problem trying to package a windows project. Project runs fine, but can’t package. The error message does not help find the source of the issue.