[Possible bug] InputAxis event fires while PIE is stopped

Hi all!

I noticed a weird thing while i was programming my PlayerControllerBP.

I have set two axes named Vertical and Horizontal in the project settings.
The first is mapped to the left joystick X axis, and the second to the left joystick Y axis (i have a Xbox One controller).

I placed two InputAxis event nodes in the PlayerControllerBP to get the axes’s value, but i noticed that the log was being filled with warnings.

I tried adding a PrintText node and linking it to one of the InputAxis event. After compiling, the text was being printed in the log continuously.

The second image was taken with the PrintText node connected to the InputAxis Vertical event.



So, it seems that the axis event is being fired even while you aren’t testing the game.

See ya!

Hi Ariath,

I attempted to reproduce this behavior but I couldn’t get your results. Could you try reproducing this in a new project and posting that project here for me to test?

Tested with a new project and no errors this time, strange :S .

Here is the project with errors:

I’m working in the TestLevel map.
Thanks for your quick response :slight_smile: .

See ya!

P.D: I replaced the link with a new one. I had an error in the C++ part :P.

P.D 2: Sometimes i don’t get any errors, but, they come in when i recompile the PlayerControllerBP.

Our firewall prevents us from downloading from that website. Could you use something like Google Drive, Dropbox, etc?

If it’s smaller than 5 MB you can upload the zip directly here.

Yes, of course, here is the file :slight_smile: .
link text

See ya!

Okay I see now, these are Accessed None errors that we have several JIRA reports in our system for. We are still trying to track down the root cause but you can workaround them in your project by adding an IsValid? check to the player movement.

Like I said, it’s not a fix but a workaround. The input is still trying to spam the log but it can’t because it registers as invalid.

Let me know if that works for you.

Cheers,

TJ

It works perfectly now, no more spam, thanks! :slight_smile:

See ya!