# Dedicated Server crashs on launch

**URL:** <https://forums.unrealengine.com/t/dedicated-server-crashs-on-launch/387443>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 9, 2017, 6:27pm UTC](https://forums.unrealengine.com/t/dedicated-server-crashs-on-launch/387443 "2017-03-09T18:27:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RelaX92](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RelaX92](https://forums.unrealengine.com/u/RelaX92)\
**Post date:** [March 9, 2017, 6:27pm UTC](https://forums.unrealengine.com/t/dedicated-server-crashs-on-launch/387443/1 "2017-03-09T18:27:21Z")

</div>

Hi,

I followed this tutorial [A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/Dedicated_Server_Guide_(Windows_%26_Linux)#2._Target_file_instructions_for_engine_version_4.15)

When I try to run the server on windows it crashs on launch. Even with the -log argument it’s not possible to read the errors (there is alot red) before the window disappears.

I searched alot just to figure out how to make the window stay, so I could read the errors, but I couldn’t find anything.

---

<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:** [March 9, 2017, 6:43pm UTC](https://forums.unrealengine.com/t/dedicated-server-crashs-on-launch/387443/2 "2017-03-09T18:43:38Z")

</div>

Hey RelaX92,

We’ve recently had one of our staff members write up a more comprehensive guide for setting up a dedicated server. Go ahead and run through these steps, and don’t forget to include -log in the shortcut so you can see the log in the command window. You can later look at the log in your packaged game’s Saved-\>Logs folder and you can see what errors you’re running into.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

Let me know if that helps

---

<div class="post-metadata">

**Author:** ![RelaX92](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RelaX92](https://forums.unrealengine.com/u/RelaX92)\
**Post date:** [March 9, 2017, 7:12pm UTC](https://forums.unrealengine.com/t/dedicated-server-crashs-on-launch/387443/3 "2017-03-09T19:12:47Z")

</div>

Thanks, I already run in an error with the other guide

“.Server.Target.cs(29,48) : error CS0117: ‘UnrealBuildTool.UnrealBuildTool’ no definition for ‘GetAllServerPlatforms’.”

doesn’t seem to work with 4.15

---

<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:** [March 9, 2017, 7:48pm UTC](https://forums.unrealengine.com/t/dedicated-server-crashs-on-launch/387443/4 "2017-03-09T19:48:27Z")

</div>

Comment out this entire function and try again:

```
 public override bool GetSupportedPlatforms(ref List<UnrealTargetPlatform> OutPlatforms)
    {
        // It is valid for only server platforms
        return UnrealBuildTool.UnrealBuildTool.GetAllServerPlatforms(ref OutPlatforms, false);
    }

```

I just built a dedicated server earlier and had to do that and I was able to get it to build and run successfully.

Let me know if that helps.

---

<div class="post-metadata">

**Author:** ![RelaX92](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RelaX92](https://forums.unrealengine.com/u/RelaX92)\
**Post date:** [March 9, 2017, 8:21pm UTC](https://forums.unrealengine.com/t/dedicated-server-crashs-on-launch/387443/5 "2017-03-09T20:21:00Z")

</div>

Thanks, now I get this error: [https://answers.unrealengine.com/questions/565174/dedicated-server-assertion-failed-bcheckadded-node.html](https://answers.unrealengine.com/questions/565174/dedicated-server-assertion-failed-bcheckadded-node.html)
