I figured out my initial issue here. While I was fetching data and converting it to SwiftData, I had forgotten to insert it into SwiftData via context.insert(...). Doing this fixed this issue.
Now I have the exact same error in another part of my app after modifying data, so I guess SwiftData/CoreData just throws the same thing regardless of what issue it encounters.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: