I have the same problem, SwiftData predicates do not appear to allow nil tests on references to other SwiftData classes - it will work for a String? for example. Trying to work out a workaround has driven me crazy (and I failed.)
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: