Unexpectedly found nil while unwrapping an Optional value crash with @Published and @StateObject
Swift 5.4 Breaking Change in @Published Wrapper Behavior When using @Published property wrappers combined with @StateObject in SwiftUI, applications may encounter a runtime crash with the message 'Unexpectedly found nil while unwrapping an Optional value'. This issue emerged specifically in Swift 5.4 as part of SE-0258's standardization of property wrapper b