Hi, I got "Abort trap: 6" error using Xcode 12.5.1
I know this is a bit late, but here it is....
I managed to narrow it down to a single line of code:
guard let scnNode = scnNode else { return nil }
I'm using "guard let" wrong, but this was the culprit.