Third Person Template C++ not work in UE5

Try build template in standalone game and have Fatal Error, in developer build have this
Screenshot_53
In editor work fine. In editor in separate window same error
Blueprint template work fine. Engine from Epic Launcher

The TopDown template has the same error. I am trying to package a newly created project without any changes. If I select “None” in the Animation Blueprint everything works fine.
BluePrints projects works fine. I use vs2022 and Rider (without rider nothing change)

Also getting this error on the C++ third person template. Just started a udemy class and they call for a quick test build, but they’re using the old third person template (they’re also in a beta version of UE5). I’m just in the intro phase of learning C++ (and coding in general) so I have no clue how to even start sorting through an error like this.

Adding the log from one of the crashes – scanning through, it’s not able to find some DLLs, but I’m not sure if that’s a factor.

MPtut.log (30.8 KB)

A temporary solution (after all, there should not be errors in the start projects) clear the c ++ class and create a blueprint class where to assign the player. If the class is not cleaned from the code in it (not completely, only pawn assignment), then even without using this class below the game will still crash.

Stack-trace for the error

[2022.04.11-07.52.18:177][  0]LogWindows: Error: begin: stack for UAT
[2022.04.11-07.52.18:177][  0]LogWindows: Error: === Critical error: ===
[2022.04.11-07.52.18:177][  0]LogWindows: Error:
[2022.04.11-07.52.18:177][  0]LogWindows: Error: Assertion failed: Index != INDEX_NONE [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Public\Animation\AttributeTypes.h] [Line: 117]
[2022.04.11-07.52.18:177][  0]LogWindows: Error: Missing operator for attribute, type IntegerAnimationAttribute was not registered previously
[2022.04.11-07.52.18:177][  0]LogWindows: Error:
[2022.04.11-07.52.18:177][  0]LogWindows: Error:
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff7a0a61b1e TestUE5.exe!UE::Anim::AttributeTypes::GetTypeOperator() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff7a0a733d0 TestUE5.exe!FAttributeCurve::Serialize() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c7ebb6d TestUE5.exe!UScriptStruct::SerializeItem() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c960b56 TestUE5.exe!FStructProperty::SerializeItem() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c95e6ff TestUE5.exe!FMapProperty::SerializeItem() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c7ec598 TestUE5.exe!SerializeUnversionedProperties() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c8ed1c2 TestUE5.exe!UObject::SerializeScriptProperties() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c8ecef1 TestUE5.exe!UObject::Serialize() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c8ecd60 TestUE5.exe!UObject::Serialize() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff7a0ac2a8e TestUE5.exe!UAnimationAsset::Serialize() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff7a0bdb2a4 TestUE5.exe!UAnimSequenceBase::Serialize() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff7a0b994cb TestUE5.exe!UAnimSequence::Serialize() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c6ed97e TestUE5.exe!FAsyncPackage::EventDrivenSerializeExport() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c719713 TestUE5.exe!FAsyncPackage::ProcessImportsAndExports_Event() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c6c8e88 TestUE5.exe!<lambda_419ae4a50964c9ecc819ffdf467ae837>::operator()() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c71678c TestUE5.exe!FAsyncLoadingThread::ProcessAsyncLoading() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c73c4b8 TestUE5.exe!FAsyncLoadingThread::TickAsyncThread() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c7398ad TestUE5.exe!FAsyncLoadingThread::TickAsyncLoading() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c701257 TestUE5.exe!FAsyncLoadingThread::FlushLoading() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c75cd2f TestUE5.exe!FlushAsyncLoading() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c9f3ba9 TestUE5.exe!LoadPackageInternal() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79c9f3674 TestUE5.exe!LoadPackage() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79ca0a048 TestUE5.exe!ResolveName() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79ca15af0 TestUE5.exe!StaticLoadObjectInternal() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79ca14ff2 TestUE5.exe!StaticLoadObject() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79ca14970 TestUE5.exe!StaticLoadClass() []
[2022.04.11-07.52.18:177][  0]LogWindows: Error: [Callstack] 0x00007ff79bf7e169 TestUE5.exe!ConstructorHelpersInternal::FindOrLoadClass() [C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\CoreUObject\Public\UObject\ConstructorHelpers.h:87]
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ff79bf7dcde TestUE5.exe!ATestUE5GameMode::ATestUE5GameMode() [C:\Users\Alex\Documents\Unreal Projects\TestUE5\Source\TestUE5\TestUE5GameMode.cpp:10]
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ff79c795723 TestUE5.exe!UClass::CreateDefaultObject() []
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ff79ca19952 TestUE5.exe!UObjectInitialized() []
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ff79c9faa9a TestUE5.exe!ProcessNewlyLoadedUObjects() []
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ff79ac076ca TestUE5.exe!FEngineLoop::PreInitPostStartupScreen() []
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ff79ac00b9c TestUE5.exe!GuardedMain() []
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ff79ac00eda TestUE5.exe!GuardedMainWrapper() []
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ff79ac03f5c TestUE5.exe!LaunchWindowsStartup() []
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ff79ac15704 TestUE5.exe!WinMain() []
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ff7a2c7a2ca TestUE5.exe!__scrt_common_main_seh() [d:\a01\_work\43\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ffd2e767034 KERNEL32.DLL!UnknownFunction []
[2022.04.11-07.52.18:178][  0]LogWindows: Error: [Callstack] 0x00007ffd2f162651 ntdll.dll!UnknownFunction []
[2022.04.11-07.52.18:178][  0]LogWindows: Error:
[2022.04.11-07.52.18:178][  0]LogWindows: Error: end: stack for UAT

Crashed on this string

static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass(TEXT("/Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter"));

or engine source code string

checkf(Index != INDEX_NONE, TEXT("Missing operator for attribute, type %s was not registered previously"), *WeakStruct->GetName());

Update 5.0.1
Still have error…

ObjectSystemReady replace PreObjectSystemReady in AttributeTypes.cpp