You can extend the limit since 4.22 but it requires recent windows 10 version:
New: Support for long filenames (Experimental) We added support for long file paths for users with Windows 10 Anniversary Update! Historically, paths in windows have been limited to 260 characters, which can cause problems for projects with complex naming conventions and deep hierarchies of assets. The Windows 10 Anniversary Update adds support for much longer filenames, on the condition that the user and each application opt-in to it. To enable long file paths in Windows 10:
- Ensure you’re running Windows 10 version 1607 or later
- Enable support for long paths via the group policy setting or registry (see https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file#maxpath))
- In the Unreal Editor, check the “Enable Long Paths Support” in the experimental settings dialog.
Note: Support for long paths is not universal, and third party tools - even parts of the operating system, like Windows Explorer - may not support them correctly.
You can read about it in that post too, look for pf_breton answer.
https://forums.unrealengine.com/unreal-engine/unreal-studio/1659174-filename-length-issue-datasmith-revit