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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

ModuleManager: Module 'OnlineSubsystemNull' not found

I had set up a blueprint project where I was successfully using OnlineSubsystemNull. After adding an empty c++ class to the project I cannot create sessions anymore, and in the logs I see the following error:

 LogModuleManager:Warning: ModuleManager: Module 'OnlineSubsystemNull' not found - its StaticallyLinkedModuleInitializers function is null.

I have modified DefaultEngine.ini to include:

 [OnlineSubsystem]
 DefaultPlatformService=Null

And PROJECTNAME.Build.cs as follow:

// Fill out your copyright notice in the Description page of Project Settings.

using UnrealBuildTool;

 public class Test2 : ModuleRules
 {
     public Test2(TargetInfo Target)
     {
         PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "OnlineSubsystem", "OnlineSubsystemNull"});
 
         PrivateDependencyModuleNames.AddRange(new string[] {  });
 
         PrivateDependencyModuleNames.Add("OnlineSubsystem");
         DynamicallyLoadedModuleNames.Add("OnlineSubsystemNull");
 
     }
 }

The module gets compiled:

 MainFrameActions: Packaging (Mac): mono: [43/179] Compile Module.OnlineSubsystemNull.cpp

But apparently not linked to the executable. Am I missing something?

Product Version: Not Selected
Tags:
more ▼

asked Apr 25 '15 at 09:21 PM in C++ Programming

avatar image

devel.bmad
434 42 48 64

avatar image devel.bmad Apr 25 '15 at 11:21 PM
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

It looks like it could be related to the bug I mentioned on the related forum thread (UE-13075). You can try using the "Refresh Xcode project" from the Unreal Editor's File menu before re-launching or re-packaging your project.

more ▼

answered Apr 27 '15 at 06:16 PM

avatar image

Ryan Gerleve STAFF
1.1k 25 12 49

avatar image devel.bmad Apr 28 '15 at 12:17 AM

Refreshing Xcode project didn't seem to fix the issue, probably I was not configuring the build.cs file correctly. This worked for me:

     PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "OnlineSubsystem"});
     PrivateDependencyModuleNames.AddRange(new string[] { "OnlineSubsystem", "OnlineSubsystemNull" });
     DynamicallyLoadedModuleNames.Add("OnlineSubsystemNull");
(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