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"

[Closed] Opening level from menu works in editor but not in packaged game

hello all... having some frustrating times today... :( game works fine in editor but not once packaged.

my menu has

  • Single Player Game

  • Host a Game

  • Join a Game

Single player brings you to a character select screen, and then you click on the map you want..char and map selection are stored in variables on custom gameinstanceBP....then hit start game (also from game instance). The map is loaded with the character.

Same happens on host game.

In editor or standalone this works perfect. When I package the game though, single player start game button does nothing when clicked.... In host game, it brings me to a blank pop up with an OK button.

Is there a way to debug a packaged developer game? The issue is obviously happening at the open level (sp) and the open level after the create session..i think in mp

Any ideas?

First two pics are of the menu button that starts the game... first single player, second multiplayer host The next is of the game instance where the map is opened. The last is of the packaged result when host game tries to start.

MPumg

SPumg

gameinstance_startgames

builtHostgameResult

Product Version: UE 4.7
Tags:
mpgamemenu.png (151.0 kB)
spgamemenu.png (120.0 kB)
startgames.png (106.3 kB)
more ▼

asked May 24 '15 at 08:12 PM in Packaging & Deployment

avatar image

thankstipscom
654 39 38 72

avatar image thankstipscom May 24 '15 at 11:02 PM

I found logs for the game... I highlighted what I think the issue is... but I still dont know how to resolve.. or why it would only in the packaged version occur.

gameLog

Keep in mind the main menu works fine. It goes to the MPMenu and the SoloGameMenu as per normal.

the back to main menu button works fine and the quit button works.

It's the start game button on the MP or SP game menu buttons that fail. That is where the open level comes into focus. I think it maybe cant find the level called Map01 ? but it does in the editor.. so I wouldn't know how to change it so it can in the packaged version.

gamelog.png (42.2 kB)
avatar image thankstipscom May 25 '15 at 02:07 AM

[2015.05.25-02.06.26:718][360]LogScript:Warning: CreateSession - Invalid or uninitialized OnlineSubsystem [2015.05.25-02.06.26:718][360]LogScript:Warning: CreateSession - Cannot map local player to unique net ID [2015.05.25-02.06.26:718][360]LogScript:Warning: DestroySession - Invalid or uninitialized OnlineSubsystem [2015.05.25-02.06.26:718][360]LogScript:Warning: DestroySession - Cannot map local player to unique net ID

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

The question has been closed Jul 01 '16 at 03:39 PM by Samantha Sutton for the following reason:

Issue is now outdated. If you are still experiencing this issue, please make a new post for assistance. Thanks!


1 answer: sort voted first

I solved this.

The first issue was that the build wasnt complete. I had to rebuild the project from visual studio, the build inside ue4 editor was missing stuff.... that explains why it couldnt find the map.

the second issue was more complicated.

I had the

[OnlineSubsystem] DefaultPlatformService=Null

in the DefaultEnginie.ini file.

I had to go to the *.build.cs file in: ~Documents\Unreal Projects\ProjectName\Source\ProjectName

and added this, then buit the project again

 //added by me
               PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "OnlineSubsystem"});
             PrivateDependencyModuleNames.AddRange(new string[] { "OnlineSubsystem", "OnlineSubsystemNull" });
             DynamicallyLoadedModuleNames.Add("OnlineSubsystemNull");
 //added by me


Most of the stuff is working now

more ▼

answered May 25 '15 at 04:33 AM

avatar image

thankstipscom
654 39 38 72

avatar image BaumwolleHD Oct 30 '15 at 04:10 AM

I get an error with that: Info ERROR: Module rules for 'RTS' should not be dependent on modules which are also dynamically loaded: OnlineSubsystemNull

Any advise?

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

Follow this question

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

Answers to this question