x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

TravelFailure: InvalidURL when leave game back to main menu

I pretty much replicated the MultiplayerShootout example of the UE4 engine in my project an got everything to work except the "leave game" mechanism, where the session is destroyed and the main menu level is opened again, which is not working in my project as well as in the MultiplayerShootout example itself. The problem seems to be the OpenLevel function. When i try to reload the MP_Level1, it works, but when i try to open the MainMenu level, running it in the Editor, it says:

Warning TravelFailure: InvalidURL, Reason for Failure: 'Invalid URL: /Game/MyGame/Maps/MP_MainMenu'. Shutting down PIE.

in the log, which seems to be a known issue. But even when i package the game it is not workin and displaying the failure type of the event TravelError it says "ClientTravelFailure", "InvalidURL". I searched for some information about it here and on other boards but found no working solution.

Can anyone give me a hint?

Product Version: UE 4.12
Tags:
more ▼

asked Aug 10 '16 at 09:39 PM in Blueprint Scripting

avatar image

froncer
1 2 1

avatar image froncer Aug 10 '16 at 10:19 PM

The complete log of the packaged version is attached. The interesting lines are starting at line number 277:

 [2016.08.10-22.11.21:260][335]LogPackageName: SearchForPackageOnDisk took   0.158s, but failed to resolve MainMenu.umap.
 [2016.08.10-22.11.21:260][335]LogNet: Browse: /Game/51_Multiplayer_mit_GunAndShield_kombinieren/Maps/MP_MainMenu
 [2016.08.10-22.11.21:260][335]LogNet:Warning: Travel Failure: [InvalidURL]: Invalid URL: /Game/51_Multiplayer_mit_GunAndShield_kombinieren/Maps/MP_MainMenu
 [2016.08.10-22.11.21:260][335]LogNet: TravelFailure: InvalidURL, Reason for Failure: 'Invalid URL: /Game/51_Multiplayer_mit_GunAndShield_kombinieren/Maps/MP_MainMenu'
 [2016.08.10-22.11.21:260][335]LogBlueprintUserMessages: [MP_Steam_GameInstance_C_0] Error traveling maps due to: InvalidURL

Log

hellovivehive.log (51.8 kB)
avatar image Leonardo_Twinkle Apr 25 '19 at 01:21 PM

Make Sure your MainMenu is Typed correctly in the Open Level

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Well what you need to do to leave game while youre in a Session, On Click (Leave Game) - Save Game To Slot- Get Player Controller - Cast to GamePlayPlayerController - Get a Reference to GameInfo - Destroy Session Caller - Remove All Widgets - Open Level (MainMenu) https://gyazo.com/01b9af92a760e4b04d13158a3c91ba66

more ▼

answered Apr 25 '19 at 01:20 PM

avatar image

Leonardo_Twinkle
15 3 1 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question