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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Map Name Parameter for ServerTravel

So I'm using

 bUseSeamlessTravel = true;

Apparently you need to supply the whole path to the level, otherwise it fails saying "short package names are not supported".

However I found that when the game is packaged, my code does not work. What Parameter do I have to provide for it to work on the packaged game as well as in the editor?

Product Version: Not Selected
more ▼

asked Mar 05 '15 at 10:40 PM in C++ Programming

avatar image

209 19 20 30

avatar image Deventico Mar 06 '15 at 05:27 PM

I tried it with blueprints, but it seems like there is a similar issue.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Have you put your maps in a different location than the default (because the path you've put there suggests that you have)?

I ask because we call the exact same function in our game and it works - but the path we use is "/Game/Maps/".

more ▼

answered Mar 06 '15 at 05:33 PM

avatar image

348 14 15 27

avatar image Neil.Griffiths Mar 06 '15 at 05:43 PM

Incidentally, if you DID put the maps in a different location then you're going to have to setup that directory to be packaged.

You can do that in the editor by opening your Project Settings (in the Edit menu) and then look at the Packaging section. In there you can add your directory under the "Additional Non-Asset Directories to Package).

...Or you can keep your maps in the normal place.

This is all a big assumption though!

avatar image Deventico Mar 06 '15 at 07:38 PM

ok, so I renamed the "Levels" folder to "Maps", but I still get the same behavior: Working in editor, black screen when I 'launch' it or run the packaged game.

However I noticed something in the console when executing the C++ code:

 LogStreaming:Error: Couldn't find file for package /Engine/Maps/Entry requested by async loading code.

I don't know why the Entry map is requested (I have "/Game/Maps/Transition as transition map) but maybe that's related to the problem.

avatar image Deventico Mar 06 '15 at 07:48 PM

Oops, when I tested it, the transition map was Engine/Maps/Entry.

Now I updated it and it's working. :)

Thank you for your help, I guess Entry wasn't packaged and now that I changed the transition map to something that was packaged, it works.

avatar image Neil.Griffiths Mar 06 '15 at 08:11 PM

Great, I'm glad you have it working now! :-)

(comments are locked)
10|2000 characters needed characters left
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