[4.5] UMG : Mobile issue with "Get Input Motion State" node

This bug report is a continuation to this forum post (experimental UMG under 4.4) :

Now, in 4.5 :

“Get Input Motion State” works, but when I touch a button, “Get Input Motion State” return anything.

After, when I touch the screen anywhere, “Get Input Motion State” works again.

Case test project is attached with this question.

Hello Eddy71,

If you could just answer a few quick questions for me that will help narrow down the issue that you are experiencing.

Quick questions:

  1. Can you reproduce this on a clean project?
  2. When you say that “it doesn’t return anything”. Do you mean that it returns all zeros or do you mean that it no longer prints to the screen?
  3. Are you testing this on an actual mobile device or are you using “preview mobile” when you get these results?
  4. What buleprint are you building your logic into?

Hello Rudy,

1 - The attached file “WidgetWithMotionBug.zip” contain a clean project with only required things.

2 - It returns all zeros when an UMG button is touched. And after it returns normal datas when we touch anywhere on the screen.

3 - Tests made with iPhone5 and iPad4

4 - See 1. You can try yourself the attached test project.

Thanks.

Hello Eddy71,

I need a couple more pieces of information before I can fully test this on my end. I will need to know what version of the iPhone5’s OS (operating system) you’re using. I will also need to know if it’s an iPhone5 or iPhone5S

Ex: iOS 8.0.2

Hello Rudy

Tests under :

  • iPhone5 (not S) with iOS 7.1.2
  • iPad4 with iOS 8.1

I am also experiencing the same issue, and have posted a similar question here: UMG releases player touch input - UI - Unreal Engine Forums

It would appear that as soon as you touch a UMG button all touch inputs / input motion states (such as tilt) stop functioning in the blueprint.

I am on an iPhone 5S with iOS 8.1.

Hello Eddy71,

I was able to reproduce the issue on the iPhone. I have submitted the issue (UE-5495) to the developers for further inspection. Thank you for your information and time. I will provide updates with any pertinent information as it becomes available.