Long filenames can lead to presumed corrupt /workspace folder (includes solution)

Maybe I missed it, but the actual limit is never mentioned here.

Is it 256 characters for the full path, as mentioned here, or is it something else?

Edit: this post explains that the limit would be 256 characters for the full path.

Also I’m curious: if a file has a filename that would exceed the length of the limits of the file system, how is it possible that file is stored there in the first place? I would expect that either the copy operation is unsuccessful, or the file name is truncated. Either case would not lead to a file name that exceeds 256 characters, because that is the limitation of the file system.

Did you just edit the filenames on the SD Card to make them shorter, or how exactly did you fix this?