MapInputEventToClientEvent + Project rebuilds

Version: 1.6.29.0

Frequency: Consistently

Severity: High

Context: Any project using `SimConnect_MapInputEventToClientEvent_EX1`

Bug description: When we are monitoring some control events through the function using a WASM module or external app, mounting a package or rebuilding a project (any project) through dev mode Proejct Editor will prevent subsequent events from being triggered. Unmapping and re-mapping those inputs seems to rectify the situation but we don’t know when a package is loaded or rebuilt so we can’t really work around this issue.

Repro steps:

  1. Load a SimConnect app and call SimConnect_MapInputEventToClientEvent_EX1 with any keyboard or joystick command.
  2. Load a new project using the Project Editor (or re-build one)
  3. Try to press that same button again, events are not going through.

Docs:

Hello @runshotgun

I tried replicating the issue on 1.6.29.0 and SDK 1.5.6, tracking a joystick slider event while doing a full rebuild of the Da62 sample, but slider position changes kept being returned.
Can you please share your SimConnect client app code snippet, to see if we’re doing something different?

Regards,
Sylvain

An example project exhibiting the issue has been sent to @PrivateContent