Every time I sketch a rectangle on my project SW crashes and I can't figure out what's wrong.
What version of SolidWorks ?
Which OS, graphics card and driver ?
Is it only rectangles that cause a crash ?Are you sketching in 3D model or 2D drawing ?
If you have an Intel GPU, then it's likely a known issue. They talk about it here:
My SW crashes immediately when I start sketching after last Win & GPU driver update
Download this driver to fix it: Downloads for Intel® HD Graphics 630
Retrieving data ...