# UE crashes on standalone mode

**URL:** <https://forums.unrealengine.com/t/ue-crashes-on-standalone-mode/348742>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, editor, UE4, Blueprint, question\
**Created:** [February 26, 2016, 11:41am UTC](https://forums.unrealengine.com/t/ue-crashes-on-standalone-mode/348742 "2016-02-26T11:41:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3a86000c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3a86000c](https://forums.unrealengine.com/u/anonymous_user_3a86000c)\
**Post date:** [February 26, 2016, 11:41am UTC](https://forums.unrealengine.com/t/ue-crashes-on-standalone-mode/348742/1 "2016-02-26T11:41:00Z")

</div>

Hi Everyone,

I keep having issues with Unreal Editor, it keeps crashing my games when I try them out on standalone mode. It doesn’t matter if its a new project or not. At some point, this will happen. Whenever I start standalone mode, the new window pops up, goes black and crashes with this report:

Unknown exception - code 00000001 (first/second chance not available)

"Assertion failed: Names.IsValidInde

UE4Editor\_Core!FDebug::AssertFailed() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\core\private\misc\outputdevice.cpp:354]  
UE4Editor\_CoreUObject!UEnum::GetValueByIndex() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\enum.cpp:135]  
UE4Editor\_Engine!UKismetNodeHelperLibrary::execGetValidIndex() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\engine\classes\kismet\kismetnodehelperlibrary.h:15]  
UE4Editor\_CoreUObject!UFunction::Invoke() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\class.cpp:4195]  
UE4Editor\_CoreUObject!UObject::CallFunction() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:484]  
UE4Editor\_CoreUObject!UObject::ProcessContextOpcode() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1755]  
UE4Editor\_CoreUObject!UObject::execLet() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1558]  
UE4Editor\_CoreUObject!UObject::ProcessInternal() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:698]  
UE4Editor\_CoreUObject!UFunction::Invoke() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\class.cpp:4195]  
UE4Editor\_CoreUObject!UObject::ProcessEvent() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1050]  
UE4Editor\_UMG!FDynamicPropertyPath::GetValueRecursive() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\umg\public\binding\dynamicpropertypath.h:347]  
UE4Editor\_UMG!UTextBinding::GetTextValue() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\umg\private\binding\textbinding.cpp:47]  
UE4Editor\_UMG!UTextBinding::execGetTextValue() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\umg\public\binding\textbinding.h:10]  
UE4Editor\_CoreUObject!UFunction::Invoke() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\class.cpp:4195]  
UE4Editor\_CoreUObject!UObject::ProcessEvent() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1046]  
UE4Editor\_UMG!TBaseUFunctionDelegateInstance::Execute() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\core\public\delegates\delegateinstancesimpl\_variadics.inl:112]  
UE4Editor\_Slate!TBaseDelegate::Execute() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\core\public\delegates\delegatesignatureimpl\_variadics.inl:440]  
UE4Editor\_Slate!TAttribute::Get() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\core\public\misc\attribute.h:135]  
UE4Editor\_Slate!FTextBlockLayout::ComputeDesiredSize() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slate\private\widgets\text\textblocklayout.cpp:46]  
UE4Editor\_Slate!STextBlock::ComputeDesiredSize() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slate\private\widgets\text\stextblock.cpp:180]  
UE4Editor\_SlateCore!SWidget::CacheDesiredSize() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:405]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:399]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_SlateCore!SWidget::SlatePrepass() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\slatecore\private\widgets\swidget.cpp:394]  
UE4Editor\_Engine!UGameEngine::SwitchGameWindowToUseGameViewport() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\engine\private\gameengine.cpp:344]  
UE4Editor\_MoviePlayer!FDefaultGameMoviePlayer::WaitForMovieToFinish() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\movieplayer\private\defaultgamemovieplayer.cpp:307]  
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\launch\private\launchengineloop.cpp:2430]  
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\launch\private\launch.cpp:142]  
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]  
UE4Editor!WinMain() [d:\buildfarm\buildmachine\_++depot+ue4-releases+4.9\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]

Someone please help me out, I’d hate to see myself turn my back on Unreal because of this.

With kind regards,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3a86000c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3a86000c](https://forums.unrealengine.com/u/anonymous_user_3a86000c)\
**Post date:** [February 26, 2016, 12:50pm UTC](https://forums.unrealengine.com/t/ue-crashes-on-standalone-mode/348742/2 "2016-02-26T12:50:37Z")

</div>

if it helps, this is the outputdevice.ccp paragraph that is mentioned:

void VARARGS FDebug::AssertFailed(const ANSICHAR\* Expr, const ANSICHAR\* File, int32 Line, const TCHAR\* Format/\* = TEXT(“”)\*/, …)  
{  
if (GIsCriticalError)  
{  
return;  
}

```
TCHAR DescriptionString[4096];
GET_VARARGS(DescriptionString, ARRAY_COUNT(DescriptionString), ARRAY_COUNT(DescriptionString) - 1, Format, Format);

TCHAR ErrorString[MAX_SPRINTF];
FCString::Sprintf(ErrorString, TEXT("Assertion failed: %s"), ANSI_TO_TCHAR(Expr));
GError->Logf(TEXT("Assertion failed: %s") FILE_LINE_DESC TEXT("\n%s\n"), ErrorString, ANSI_TO_TCHAR(File), Line, DescriptionString);

```

}

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 26, 2016, 1:31pm UTC](https://forums.unrealengine.com/t/ue-crashes-on-standalone-mode/348742/3 "2016-02-26T13:31:54Z")

</div>

Hello ,

This is a known issue that relates to using an integer that is higher than the total members of an enum to select an enum (UE-21306). This issue has been resolved in 4.11.

Have a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3a86000c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3a86000c](https://forums.unrealengine.com/u/anonymous_user_3a86000c)\
**Post date:** [February 26, 2016, 1:49pm UTC](https://forums.unrealengine.com/t/ue-crashes-on-standalone-mode/348742/4 "2016-02-26T13:49:41Z")

</div>

Hey Sean,  
thanks for the answer. Doesn’t help me much at the moment but at least I now know that there isn’t anything wrong with my code xD. I could have sworn that I never had an input higher than the members of the ENUMs but I guess there’s more at work than I’m aware of.

But if I’m reading your comment correctly, I should keep working in an editor window instead of the standalone and wait for 4.11?

With kind regards,

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 26, 2016, 1:54pm UTC](https://forums.unrealengine.com/t/ue-crashes-on-standalone-mode/348742/5 "2016-02-26T13:54:13Z")

</div>

That is correct. However, if you’d like, you can download the 4.11 Preview and verify that your issue is fixed in that version. That way we know if it is the same issue, and if not, we can continue to help you solve your problem.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3a86000c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3a86000c](https://forums.unrealengine.com/u/anonymous_user_3a86000c)\
**Post date:** [February 26, 2016, 2:04pm UTC](https://forums.unrealengine.com/t/ue-crashes-on-standalone-mode/348742/6 "2016-02-26T14:04:11Z")

</div>

Thanks for the tip, I’ll get right on it! I’ll let you know what happens.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 26, 2016, 7:37pm UTC](https://forums.unrealengine.com/t/ue-crashes-on-standalone-mode/348742/7 "2016-02-26T19:37:19Z")

</div>

Thank you, please respond to this thread when you have performed the test.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3a86000c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3a86000c](https://forums.unrealengine.com/u/anonymous_user_3a86000c)\
**Post date:** [February 29, 2016, 9:48am UTC](https://forums.unrealengine.com/t/ue-crashes-on-standalone-mode/348742/8 "2016-02-29T09:48:12Z")

</div>

I tested it, and it works! Thanks Sean!

I also (temporarily) fixed the problem in 4.9, I put a clamp on the integer so the integer doesn’t reach a higher number than the enum. So everything is a-okay now. Thanks for the help!
