I have been working on a new project in AE 12.2 on my New Mac Pro. The project file runs a little slugish while I'm working. I am using Trapcode Lux, Optical Flares and a lot of expressions. When I go to render the file 1/4 of the way in my whole computer freezes and I need to force it to shutdown and restart. No error report is created I don't think.
Optical Flares is GPU dependent, which can play havoc when rendering using multiprocessing.
Try rendering with multiprocessing turned off.
If that doesn't work, try temporarily removing Optical Flares from the AE Plugins folder and restarting AE, then render. This will force a render with no Optical Flares included.
Thanks. I turned off multiprocessing and it fixed the problem.