After building lights computer freezes entirely

Im trying to build a production lightning and unreal engine 4 works up to 52 or 64% of lightning building then my entire computer crashes…
i have a Ryzen 7 1700x at 3.77 Ghz
1080 ti OC STRIX
32 GB RAM 2400 Mhz
7 TB HDD and 250 GB SSD
power supply EVGA 850 plus…
ASUS X370 F GAMING…
please help me

Did you fix that? I have similar issues on Ryzen.