Achievements - issue using Unreal's Write Achievement Progress node for Count type achievements
Using UE 4.16.2
Works just fine for EAchievementType::Simple achievements, however when incrementing an EAchievementType::Count type, due to the float Progress pin, Oculus spits out the following error message: Could not float convert to uint64
VariantData's type is float as expected, so the following Oculus code fails.
FOnlineAchievementsOculus::WriteAchievements
...
I can modify the Oculus code and rebuild the engine to fix the issue, but hopefully you already have a CL I can integrate - or a better / correct way to increment Count based achievements.
Please advise. TY
Works just fine for EAchievementType::Simple achievements, however when incrementing an EAchievementType::Count type, due to the float Progress pin, Oculus spits out the following error message: Could not float convert to uint64
VariantData's type is float as expected, so the following Oculus code fails.
FOnlineAchievementsOculus::WriteAchievements
...
case EAchievementType::Count:
uint64 Count;
GetWriteAchievementCountValue(VariantData, Count);
RequestId = ovr_Achievements_AddCount(TCHAR_TO_ANSI(*AchievementId), Count);
break;
I can modify the Oculus code and rebuild the engine to fix the issue, but hopefully you already have a CL I can integrate - or a better / correct way to increment Count based achievements.
Please advise. TY
