Swiftdata Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1cc1698ec)

Hello, i have a route with many points for routes:

@Model
public class Route(){
 public id: UUID = UUID()
 var name: String
 var desc: String
 var points: [Point] = []
}

@Model
public class Point(){
 public id: UUID = UUID()
 var speed: double
 var  route :  Route
}

when I like to add point. route.point.append(point) I get all ways this error:

Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1cc1698ec)

my Xcode version 15.3

Hi there, I encountered the same error when defining mutual @Relationship references (one-to-many or many-to-many relationships) between two models. Have you found a solution? thx

Swiftdata Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1cc1698ec)
 
 
Q