Skip to content

NotImplementedExcetion for callbacks #519

Open

Description

@larkliy

This problem occurs when connecting the latest version of Imgui .NET:

Image

This problem is on the latest version for x86 assemblies only. For x64, everything still works.

Image

This problem for x86 is solved when I downgrade from 1.91.6.1 to the next-to-last: 1.91.0.1:

Image

Why is this so?

Activity

  1. CasualPokePlayer commented on Jul 28, 2025

    @CasualPokePlayer

    The exact error is more a red herring, the issue is that a few types are incorrect and end up being the wrong size under x86, most notably ImTextureID (see #509), so structs relying on its size (such as ImDrawCmd, which has to be used by any ImGui application) will be mismatched from the unmanaged struct. ImTextureID was previously correct in older versions (mapping to void*, so IntPtr size), but unmanaged side changes in recent updates that made it so it is always 64 bits (on x64 this changes nothing, but on x86 IntPtr will be 32 bits now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions