SwiftData SwiftData: Solving Fatal Errors and EXC_BAD_ACCESS While Handling Entities on Different Threads I've recently switched the app I've been coding from CoreData to SwiftData and, once I sped up some backend code using concurrency, came across an issue where my code kept crashing when creating new entities. Here is how I solved both my fatal and bad access errors!