Not sure if this helps, but I just figured out that if you don't do modelContext.insert before you access its nested model property (like the Author? in your case), the app will crash with a SwiftData access error (SwiftData error code is "0x1cb459e90") even you wrap the code block with a do-try-catch.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: