IDE not working with source in a UNC path

I have the same problem (Win11, windows domain) if I do "file then open \server\workshop\arduino\sketch\sketch1.ino, then it opens a blank code. If I map a disk to the same path, then the file opens normally.