microsoft / microsoft/GDK

GetCurrentReading crashes with COMException 0x838A0003

Open
#123 2 comments 0 reactions 1 assignee View on GitHub

@AlexYatskov is already working on this.

Since Aug 26, 2026.

gameinput
Dominant language
No language data
Stars
1.7k
Forks
134
PR merge metrics
No merged PRs in 30d

Description

I can see that readings are being generated .. assuming timestamps are provided by readings.

Debug.WriteLine(Win32GameInput.GetCurrentTimestamp());

GameInput initialized!
13432148796398758
13432148796440725
13432148796486802
13432148796533528
13432148796579211

But when I try to get a reading

if (Win32GameInput is null) return;
Debug.WriteLine(Win32GameInput.GetCurrentTimestamp());
Win32GameInput.GetCurrentReading(GameInputKind.GameInputKindUnknown, null, out IGameInputReading reading);
Debug.WriteLine($"Reading: {reading}");

I get...

GameInput initialized!
13432149290539465
Exception thrown: 'System.Runtime.InteropServices.COMException' in Input.dll
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in Input.dll
0x838A0003

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.