Skip to content

Saneject 1.2.3

Choose a tag to compare

@alexanderlarsen alexanderlarsen released this 26 Jul 14:04
· 1 commit to main since this release
4d8986c

Fixes

  • Fixed a regression from 1.2.1 where component and asset bindings on an abstract or base type (e.g. BindComponent<Collider>()) no longer resolved derived instances. Concrete-type candidate filtering now uses IsAssignableFrom instead of exact type equality, so a binding resolves the bound type or any subclass, matching Unity's GetComponent<T>() semantics. Interface plus concrete bindings still require candidates to satisfy both types.

Tests

  • Added regression coverage for base and abstract class component resolution, and for interface plus concrete bindings resolving a subclass of the concrete type.