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"

Android Packaging fails with Online Framework Plugin enabled

Important: Reproduction steps are at the bottom of this post

After converting to 4.13, I managed to get my c++ project compiling. I had to remove 'UPROPERTY's inside '#if PLATFORM_WINDOWS' statements, as well as remove the old SteamOSS from my Build.cs file and add the SteamOnlineSubsystem plugin instead.

However I can not package my game for Android and I get the following error:

 UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'HtoNS(unsigned short)'
 UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'HtoNS(unsigned short)'
 UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'HtoNL(unsigned int)'
 UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'HtoNL(unsigned int)'
 UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'NtoHS(unsigned short)'
 UATHelper: Packaging (Android (ATC)): UnrealBuildTool: C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/Android/UE4-Icmp-armv7-es2.a(Module.Icmp.cpp-armv7-es2.o):function UDPEchoImpl(ISocketSubsystem*, FString const&, float): error: undefined reference to 'NtoHS(unsigned short)'
 UATHelper: Packaging (Android (ATC)): UnrealBuildTool: clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
 UATHelper: Packaging (Android (ATC)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\...\RobotDefenseCPP\Binaries\Android\RobotDefenseCPP-armv7-es2.so

The game packages just fine for Android with 4.12. And packaging for Windows still works just fine in 4.13. Any ideas what is going on?

Edit: So far, I have no clue what is causing the issue. I have tried refreshing the project (deleting binary, intermediate, and other folders). But that did not help, so any help is very much appreciated.

Edit 2: I can reproduce the issue, so I will upgrade this post to a bug report and provide reproduction steps below.

Reproduction Steps

  1. Create a new blank C++ project using UE 4.13

  2. Add the plugins "Online Framework Plugin" and "Online Subsystem Steam" (the plugins can be found under the category "Online Platform"

  3. Package the game for Android (All)

Product Version: UE 4.13
Tags:
more ▼

asked Sep 07 '16 at 04:47 PM in Bug Reports

avatar image

AllJonasNeeds
249 26 36 71

avatar image AllJonasNeeds Sep 08 '16 at 08:13 AM

I am able to package for Android by disabling the "OnlineFramework" plugin, but that is obviously not a good solution, since I guess the plugin is needed for online features such as sessions.

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

1 answer: sort voted first

AllJonasNeeds,

Thank you for bringing this to our attention. I have verified that this is happening on both code and blueprint projects while using Online Framework and Online Subsystem Steam together. UE-35743 was entered for this issue. If you'd like to check up on the status, feel free to by reviewing our live issue tracker.

Thanks!

more ▼

answered Sep 08 '16 at 07:07 PM

avatar image AllJonasNeeds Sep 11 '16 at 02:47 PM

Hi Samantha,

I just noticed enabling the Online Framework plugin without Online Subsystem Steam already results in the packaging error. I just tested that with a new blank C++ project.

avatar image Samantha Sutton ♦♦ STAFF Sep 13 '16 at 08:30 PM

Yes, that's included in the bug. Falls back on the Online Framework plugin.

Thank you!

avatar image FoundThePin Oct 26 '17 at 12:37 AM

Where can I find what The Features of the Online Framework Plugin. I cannot Find any documentation. Cheers

(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