I am using default snapshotView(afterScreenUpdates: false)
in my app and it crashes on Mac Mini with M1 chip (Thread 1: EXC_BAD_ACCESS (code=1, address=0x20)
Also, I got the same crash with drawViewHierarchyInRect
and all of this graphics/UI methods.
Any ideas what's wrong and how to fix it?