When I open a project after upgrading ue4.27 to 5.1, I will report an error

LoginId:ee8a43ea427c3e4162f5cf9639ad6700
EpicAccountId:120aa667c648486091312f9af87081b9

Assertion failed: !IsWide() [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\UObject\UnrealNames.cpp] [Line: 1505]

UnrealEditor_Core
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_Engine
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

Hi,
In the source code, this assertion is probably due to the fact you have too many characters in your filename or the filename contains illegal characters, not of the ANSI type. Could graphics characters get in your filenames?

It is best to stick with ANSI CHARACTERS, not WIDE CHARACTERS as UE5 imposes stricter control on unterminated names ALL filenames must have the following terminator, where Out is the string of ANSI characters

Out[Header.Len] = ‘\0’

/// Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requirements of the licensee.

Quite a few 4.27 projects don’t convert well to 5.1, 4.26 projects convert better.
Is there a possibility that you could try converting from the 4.26 project to 5.0 EA2 perhaps