I have a series of image sheets I’m attempting to load for a character graphic, and the sheets aren’t loading on only iOS devices and Xcode Simulator. No errors are being reported on the graphics.newImageSheet method, but its returning a nil value. The image sheets are using the advanced method of sprite data (used TexturePacker), and they include the sheet width and height.
Error: Bad Argument to #1 to newSprite (imagesheet expected, got nil)
Things I’ve already done to attempt to resolve:
I reduced the image sheet sizes to below 1024x1024
I’ve tried various print statements to see if the sheet data is there and accurate, which it is.
Tested on Android (works fine)
Tried adding, removing, and changing the sheetContentWidth/sheetContentHeight in the sheet data
I’m really at my wit’s end on what to do next. Any suggestions?