Randomly selecting a character class from the GameMode constructor using ConstructorHelpers::FClassFinder can result in default or null character being set when the level is reloaded. It appears that FClassFinder is not calling AddToRoot(). This only seems to be a problem with non-Editor versions of the project.
Shelved CL 2743610 looks like it may correct the issue.
RESULT:
The game will eventually hit a breakpoint when reloading the level.
EXPECTED:
The game continues reloading the level successfully.
TestConstHelper.exe!AGameMode::ChoosePlayerStart_Implementation(AController * Player) Line 1446 C++
TestConstHelper.exe!AGameMode::execChoosePlayerStart(FFrame & Stack, void * const Z_Param__Result) Line 67 C++
TestConstHelper.exe!UFunction::Invoke(UObject * Obj, FFrame & Stack, void * const Z_Param__Result) Line 4457 C++
TestConstHelper.exe!UObject::ProcessEvent(UFunction * Function, void * Parms) Line 1118 C++
TestConstHelper.exe!AActor::ProcessEvent(UFunction * Function, void * Parameters) Line 601 C++
TestConstHelper.exe!AGameMode::ChoosePlayerStart(AController * Player) Line 4650 C++
TestConstHelper.exe!AGameMode::FindPlayerStart_Implementation(AController * Player, const FString & IncomingName) Line 388 C++
TestConstHelper.exe!AGameMode::execFindPlayerStart(FFrame & Stack, void * const Z_Param__Result) Line 67 C++
TestConstHelper.exe!UFunction::Invoke(UObject * Obj, FFrame & Stack, void * const Z_Param__Result) Line 4457 C++
TestConstHelper.exe!UObject::ProcessEvent(UFunction * Function, void * Parms) Line 1118 C++
TestConstHelper.exe!AActor::ProcessEvent(UFunction * Function, void * Parameters) Line 601 C++
TestConstHelper.exe!AGameMode::FindPlayerStart(AController * Player, const FString & IncomingName) Line 4658 C++
TestConstHelper.exe!AGameMode::InitNewPlayer(APlayerController * NewPlayerController, const TSharedPtr<FUniqueNetId const ,0> & UniqueId, const FString & Options, const FString & Portal) Line 1025 C++
TestConstHelper.exe!AGameMode::Login(UPlayer * NewPlayer, ENetRole RemoteRole, const FString & Portal, const FString & Options, const TSharedPtr<FUniqueNetId const ,0> & UniqueId, FString & ErrorMessage) Line 1066 C++
TestConstHelper.exe!UWorld::SpawnPlayActor(UPlayer * NewPlayer, ENetRole RemoteRole, const FURL & InURL, const TSharedPtr<FUniqueNetId const ,0> & UniqueId, FString & Error, unsigned char InNetPlayerIndex) Line 656 C++
TestConstHelper.exe!ULocalPlayer::SpawnPlayActor(const FString & URL, FString & OutError, UWorld * InWorld) Line 234 C++
TestConstHelper.exe!UEngine::LoadMap(FWorldContext & WorldContext, FURL URL, UPendingNetGame * Pending, FString & Error) Line 9665 C++
TestConstHelper.exe!UEngine::Browse(FWorldContext & WorldContext, FURL URL, FString & Error) Line 8781 C++
TestConstHelper.exe!UEngine::TickWorldTravel(FWorldContext & Context, float DeltaSeconds) Line 8956 C++
TestConstHelper.exe!UGameEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 943 C++
TestConstHelper.exe!FEngineLoop::Tick() Line 2626 C++
TestConstHelper.exe!GuardedMain(const wchar_t * CmdLine, HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, int nCmdShow) Line 142 C++
TestConstHelper.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow) Line 189 C++
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
Delay nodes occasionally don't fire the "Completed" output in a nativized build
How can i modify the param name in EQS node
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.9.2, 4.11 |
Target Fix | 4.10 |
Created | Oct 27, 2015 |
---|---|
Resolved | Oct 28, 2015 |
Updated | Apr 27, 2018 |