Arduino MKR ZERO blink sketch only works when uploaded from online editor

I tested several other USB cables with USB 2.0 and freshly installed IDE on 3 PCs. The result was the same. I just have Windows antivirus software activated. What could be the difference between Arduino Create and IDE that is causing this? Can it be on the hardware side, something wrong with MKR ZERO?