UICollectionView raises an exception when setting `layoutAttributesForElements` on iOS 15

Assertion failure in -[UICollectionView _setNeedsVisibleCellsUpdate:withLayoutAttributes:], UICollectionView.m:1511

 I have the following structure here

-| UITableView

-| UITableViewCell

  -| UICollectionView

          -| UICollectionViewCell

          -| UICollectionViewCell ...

when I override func systemLayoutSizeFitting in TableViewCell, The crashed occurred.

UICollectionView raises an exception when setting `layoutAttributesForElements` on iOS 15
 
 
Q