On_input action - table too large for msg.post

I managed to (kind of) reproduce this problem when trying to reproduce a different issue.

I was building from the editor and deploying to the iPhone, and because the display sleep timer was set to the minimum (30 seconds), I was tapping the screen to prevent it sleeping.
That caused action.touch to have many more elements than normal - up to 11 instead of the normal limit of 5 - and then the table was too large to be passed in a message.

It’s less clear if this could happen in normal play, but there is probably some kind of input sanitisation that could be added to the engine to eliminate the possibility.

1 Like