I got a crash with packaged game. but in Editor game there is performance exactly.
I need to cost many time to wait game packaging.
So how can I got a Environment like packaging game but not the simulate Environment.
and My case same to this topic:
https://answers.unrealengine.com/questions/87073/packaged-game-startup-fatal-error.html?sort=oldest
The main reason is like following:
FMallocBinned::FreeInternal() 0x3f60bc68 + 0 bytes [File=d:\buildfarm\buildmachine_++depot+ue4-releases+4.4\engine\source\runtime\core\public\hal\mallocbinned.h:585] [in D:\ArenazGit\Builds\WindowsNoEditor\Arenaz\Binaries\Win64\Arenaz.exe] FMallocBinned::Realloc() 0x3f62338e + 0 bytes [File=d:\buildfarm\buildmachine_++depot+ue4-
I found the problem. that is because the Timer.
I can not control the Object’s point in timer’s callback function.
May be it about it is not in the main thread. but in editor environment it works well. I do not know why or maybe it just a bug.
Rama
October 10, 2014, 9:10am
3
are you using a timer on a UObject?
Try using only AActor with timers and let me know if that helps
Hi, my code like following,it is very simple for test.
AAnimationText.h
class AAnimationText : public AActor
{
GENERATED_UCLASS_BODY()
public:
FString * name;
void Play();
}
I call following function from class “APositionIndicator : public AActor”
AAnimationText.cpp
void AAnimationText::setTextAnimation(FString & aName)
{
name = &aName;
GetWorld()->GetTimerManager().SetTimer(this, &AAnimationText::Play, 0.05, false);
}
void AAnimationText::Play()
{
*name = TEXT(""); //get a crash here in packaging game evironment
}