Please someone can help me solve the erro Assertion failed: IsRunningCommandlet()

When i add a new actor to my level,UE will crash.

Assertion failed: IsRunningCommandlet() [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\LevelActor.cpp] [Line: 276]

UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_EditorFramework
UnrealEditor_EditorFramework
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_LevelEditor
UnrealEditor_LevelEditor
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
InkObj
atlthunk
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

I got the same issue

it seems to be failing on

// During cooking, some platform cant retrieve the MAC adress, so force a default one.
			check(IsRunningCommandlet());
* Check to see if this executable is running a commandlet (custom command-line processing code in an editor-like environment)

#if WITH_ENGINE
	return PRIVATE_GIsRunningCommandlet;
#else
	return false;
#endif

A reddit thread covers this, something about left over network adapters causing problems with the MacAddress. (They mention virtual ones but might also be old hardware specific)

https://www.reddit.com/r/unrealengine/comments/13pqoyc/engine_keeps_crashing/

Found the solution!

5.1.1 also crashed with the Error "Assertion failed: MacAddress.Num() == 6. Found a thread that talked about fixing that by removing leftover virtual adapters. Had a dozen of those, removed them and got 5.1 to run. Got curious, started up 5.2 and TADA - it works!