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"

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??

alt text

alt text

Product Version: UE 4.15
Tags:
more ▼

asked Dec 12 '17 at 11:00 AM in Using UE4

avatar image

silverfish1000
124 12 23 29

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

6 answers: sort voted first

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. alt text

sg.png (140.0 kB)
more ▼

answered Dec 14 '17 at 06:18 AM

avatar image

lkav
1.4k 9 5 10

avatar image silverfish1000 Dec 14 '17 at 08:27 AM

Thanks IKAV. I will give it a try!!

avatar image lkav Dec 23 '17 at 07:27 AM

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

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

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

more ▼

answered Dec 12 '17 at 11:50 AM

avatar image

lkav
1.4k 9 5 10

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

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.

more ▼

answered Dec 12 '17 at 03:07 PM

avatar image

silverfish1000
124 12 23 29

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

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 alt text

1.png (191.4 kB)
more ▼

answered Dec 12 '17 at 11:05 PM

avatar image

SenToRious
495 4 7 13

avatar image silverfish1000 Dec 13 '17 at 04:24 AM

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.

avatar image SenToRious Dec 13 '17 at 04:28 PM

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 alt text

1.png (150.9 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

more ▼

answered Dec 13 '17 at 07:23 AM

avatar image

lkav
1.4k 9 5 10

avatar image silverfish1000 Dec 13 '17 at 01:24 PM

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

avatar image silverfish1000 Dec 13 '17 at 05:09 PM

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

avatar image silverfish1000 Dec 13 '17 at 09:57 PM

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. ??

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

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

more ▼

answered Jul 23 '18 at 08:28 AM

avatar image

Dorthonion1
3 3 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