TRAVEL FAILURE : INVALID URL ERROR

I get Travel Failure error trying to execute Get Current Level Name below. I load up a blank fresh project and set up the Game Instance and put Level Save Variable in it and all I’m doing is activating it with UMG on pressed button and when I press the button it gives me Travel Failure error. Again these is a fresh project. Others are saying they figure it out by doing these and that but the truth is that even when you have blank project it’s not working and saving Map Name to game instance and loading it up is a BIG deal. Really strange bug that really sabotages your project. Why would there be a bug of such??

Hi
I think you just need to connect the get Level name output pin (pink string) and enter it into the Set GAME SAVE.

At the moment u get the information and then you set the same information again which does not change anything.

For open level, you only need the get node, not the Set

Well the URL Travel error persist along with or without Set Game Save. Unless you can quickly show me with BP diagram. How ever I don’t think my set up is the problem. It’s a bug that EPIC should seriously know about. How can you load the game from instance when these error happens and not able to LOAD the game is serious situation for those of us who are putting time in to these. Also google URL travel error and you will see what I mean.

You’re probably passing a name of a level that does not exist or an empty name I would print the name first before opening the level just to see what name I’m passing. Just tried it and it worked just fine no error here’s my BP

Well my set up works the same way except now if I put LV1 in as default Value it loads LV1 even though I’m on LV2. Seems like it’s not saving anything in to game instance even though print string fires fine. So let’s say i star with LV1 and finish in LV2 it worn go to two it will go to LV1 regardless if I set LV2 the same as LV1 with default LV2 not LV1.Only if I start with LV2 and go to Main Menu only then it will load up properly. So LV2 is completely lost if I start with LV1 first.

Have you set your GameInstance under ProjectSettings>Project>Maps & Modes?

Yes it’s been set as My_SaveGame. Not sure what else to do.

I’m not sure I understand your problem exactly are you trying to go to lv1 then set the variable to lv2 so hat you can go back to it ? Try this out

Also I post new question Save & Load – Map Name… Maybe it should be documented there instead.

OK there is another tutorial I have followed and yet again save function saves the file to save game folder no problem but when it’s time to load it up it fails. I really have something wrong with loading set up. If there’s a file inside save game folder how come I can’t load it. Like seriously. I tried few tutorials and making sure twice everything is correct but for some reason can’t load from save game file. ??

When you want to save a variable into the save game. You need to create the variables inside your save game bp.
Then you can set and get the information from a reference.
On the first screenshots, you posted I only can see a Game instance which is not a savegame. I can’t really help you more I would need more screenshots of your BP.

Check the image if you have used these nodes similar to this. (on the cast to SG node you could set save game variable for ease of use) Make sure a savegame exist and that it contains the variables you need.

OK the above ignore the GameSave with SaveGame I fixed that. What happened is that in my Main Menu level I had MY_GAMEMODE selected which had sidescroller character selected and return it kept loading MainMenu. Also it had sidescroller character selected and kept saving my MainMenu LV because as you now I have save system (above) in it. So these just happened now it kept loading main menu. So I set Game mode to non and character to non so it cant save Main Menu and now it’s working. IKAV thank you for being patient with me!!! and for sure I learn something today.!!! SO IT’S WORKING NOW. Thanks guys and Keep creating until the roof comes down. Cheers.

Thanks IKAV. I will give it a try!!

hi np can you set it as answered or do you still need help?

Long time ago but. I had this problem. Realised it was just a space between two words that shouldn’t be there.