#1310·entt

Type matching issue in registry context introduced in entt 3.16.0

Author: jdumasCreated Jan 21, 2026Updated Jan 30, 2026
Labelstriage

Hi.

I've hit a very elusive bug in EnTT's type matching behavior. I believe it was introduced by the refactoring of entt::any in v3.16.0. It took me some time to pin down a MWE in Godbolt, but I finally got it:

https://godbolt.org/z/95ET9rMdz

  • The code works fine if we compile with EnTT 3.15.0
  • The code works fine if we compile in Debug mode

Please let me know what are your thoughts on the matter.