Same issue here, crash reported in Crashlytics in the following statement:
collectionView.scrollToItem(at: index, at: .centeredHorizontally, animated: false)
Fatal Exception: NSInternalInconsistencyException
Attempted to scroll the collection view to an out-of-bounds item (25) when there are only 25 items in section 0.
Note: No issue reported before version Xcode 13.
FYI - numberOfSections is hardcoded as 1
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: