Swift Data on 17.3.1

Hello! I'm using SwiftData in my app with the @available(iOS 17.0, *) annotation. It runs perfectly on every simulator runnning on iOS 17.0.1, but I encounter a weird memory error I can't seem to solve on devices running on iOS 17.3.1.

Swift Data on 17.3.1
 
 
Q