definitely OS related, it's fine on windows, even on macs. Just the underpowered GPUs in most macs make it not really a pleasure to work with, Epic recommends workstations for development work. Personally, i'd just build a windows pc for UE work, it's not suited for laptops anyway.