EDIT: looks like this is my 100th post
Hi! I wasn’t sure where to put this, but I ended up placing it here.
So, I have been trying to get a dedicated server running for… about 5 hours now, with very little success. Unreal front end is reporting “error: server target not found”. <projectname>Server.Target.cs is located in <projectname>/source, and does appear in visual studio. I have been following this tutorial (A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums), being stuck at phase 6.
Things that could be meaningful:
Unreal front end is NOT detecting any maps, even though <projectname>/content has 2 .umap files.
I am NOT sure which instances of “Game” I should have replaced with my project name. I have been trying different combos, with no results.
I sort of skipped phases 1-3, for 3 reasons:
Building the engine takes insanely long, especially when you really don’t know what you are doing. I once tried doing it for 22h+, with no results, which discourages me from doing it if not absolutely necessary.
I think there was some mention in some patch note that building the engine from source is no longer required(?).
During my last try, I had already ran things like unreal version selector, so I had some hope it will be enough.
I have mainly been working on blueprints, as every time I have picked up C++, it has kicked me in the butt. Hard. So, don’t expect me to understand all that much
Obviously replace all paths and project names for your paths.
This gets you up and running with a test server. Its probably not the right way if you want a fully hosted server, but for just firing up and testing your network code with you and some colleages it works quite nicely.
Okay, the crash is fixed. I had accidentally types in “open 127.0.01” , which obviously is invalid.
Also, thanks to IanBreeg, the dedicated server is now running
Now, I have an issue with the server running in “menuMap”, when where it really should be is “demoMap” (my map for the actual gameplay). based on the log, the map server seems to be running is “Entry”, which is less than helpful. How do I fix this?
Thanks you so much! I found it, created a “lobby” map where I put in all the (limited) logic involved with choosing a map, set it as the server startup map, and sure enough, I saw the “Welcome to demomap! Your gamemode is DemoGamemode_C_0” in the console, and when connecting to the server, I was able to jump around, and, when I connected another client, the two would see each other jumping around After a month of less-than-productive efforts, I finally got here. Once again, thank you, and I hope this thread will help others facing the same situation in the future