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. 

Achievement problems

Hello,

So I am trying to get achievements working in our game, but I can't seem to get a successful achievement connection.

So I first followed the unreal documentation. When that didn't seem to work I followed http://www.grimwolfgames.com/setting-up-android-achievements-in-ue4/

But still it doesn't seem to work... I can't cache the achievements or write to them succesfully, the game is uploaded to android developer as an apk and is already downloadable as an alpha version to some people at the office. So it is a full shipping build published on the android store I am talking about. But I keep getting failure messages.

This is how I set up the achievements in unreal:

alt text

This in google play:

alt text

This is how my game blueprint is setup:

alt text

alt text

And here is how I try to write to the achievement in a level blueprint

alt text

EDIT: I just noticed some flaws in writing to the achievement. But even though that could be a serious problem for writing to it. The cache achievements node also fails, so I think there is another problem going on!

Product Version: UE 4.10
Tags:
1.png (23.5 kB)
5.png (42.3 kB)
2.png (342.5 kB)
3.png (134.6 kB)
4.png (76.1 kB)
more ▼

asked Jul 25 '16 at 02:31 PM in Blueprint Scripting

avatar image

SoulRyder
40 9 12 16

avatar image Spectral Ink Jul 25 '16 at 03:18 PM

According to Google, they won't turn on until you have some magical number of scores recorded.

avatar image SoulRyder Jul 25 '16 at 03:24 PM

Do you have a link to that? So I can't test my achievements until I launched my game and then hopefully it works?

avatar image SoulRyder Aug 02 '16 at 09:31 AM

Can I get more information on this? I still have no idea how to get the achievements working! :(

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

1 answer: sort voted first

So I managed to fix it by following this https://forums.unrealengine.com/showthread.php?89563-Integrate-Google-Play-Services-with-Blueprint

And then it still did not work and I had to add something to the build.cs file. Which I found in this forum post:

https://forums.unrealengine.com/showthread.php?100637-Google-Play-Loggin

I had the login return fail problem. Made changes found all over the forums relating to this (additions to proguard-project.txt, etc.), the one that finally did it:

Add to MyProject.build.cs:

if (Target.Platform == UnrealTargetPlatform.Android) { PrivateDependencyModuleNames.Add("OnlineSubsystem"); PrivateDependencyModuleNames.Add("OnlineSubsystemGooglePlay"); }

Also: added AndroidEngine.ini: https://forums.unrealengine.com/showthread.php?99143-Android-Compile-Errors

more ▼

answered Aug 05 '16 at 08:20 AM

avatar image

SoulRyder
40 9 12 16

(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