Same issue here, it seems it can not support Data type right now in Xcode 15 beta 5. Even empty Data() will through this error.
@Model
final class Item {
var data:Data
init() {
self.data = Data() // when using it in a certain view, the same error happens
}
}