Failed to load package on client
I'm working on a multiplayer game with simple matching (players hit join from the main menu and I just pick a random game out of the list I get from SearchSessions) using the Null OnlineSubsystem (so LAN only at the moment) and I'm having issues loading the correct level when I load join a server. I'm using ServerTravel on the host to load the level I want to play and when the client joins it attempts to load the correct level but I get the following error in my output log:
It then just loads the default level. I have this problem regardless of whether I try PIE, Standalone Game, or Launch (I did notice that when I Launch the game the build it puts in Saved\StagedBuilds doesn't contain FinalLevel at all).
Any ideas on what the problem might be?
asked Mar 19 '15 at 06:56 PM in Using UE4
I FINALLY FOUND OUT WHAT'S WRONG!!!! (Sorry for caps, but this is big for me right now)
Go to Edit > Project Settings > Packaging. Then click on the dropdown arrow under the packaging section. List of maps to include in a packaged build. Add as many elements as you have levels you want to load. And add your levels from their directory.
NOTE: If you can't find your Levels, right click them in the content browser, Show in Explorer. You may need to uncheck read only on them in the explorer.
Praise the Sun!
For people have this issue what i found was that i renamed the map thats giving that error and i forgot to change it some where else in my blueprints for some reason it worked in the editor but not in standalone etc
answered Mar 07 '17 at 11:23 PM
How are you having the client join the server? Are you using Blueprints or C++? If you're using C++, calling ClientTravel will automatically load the same level as the server. If you're using Blueprints, the Join Session node will automatically call ClientTravel in its implementation, so you shouldn't need to load any levels explicitly on the client.
There are some known issues with ServerTravel during a PIE session that we hope to fix in a future version. What is the log output when you try to connect using Launched instances (for both the client and the server)?
answered Mar 19 '15 at 08:03 PM
Ryan Gerleve STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here