The solution of @RolandAD saved my life. I was having this problem on iOS 13 but not in 14. I placed the empty section when my array is empty and solved the app crash.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: