Pull Request #105

Defer ability set handle assignment until success

on May 4th, 2026

Defer ability set handle assignment until success #

Summary #

When GiveAbilitySet is called multiple times through the same Blueprint event/node, the OutHandle.Abilities array accumulates handles from previous calls instead of being replaced.

This causes ClearAbilitySet to remove abilities from unrelated sets that leaked into the handle.

Fixes GASCompanion/GASCompanion-Documentation#33

Fixed by deferring assignment to a local handle and move it to OutAbilitySetHandle only at the end, so stale handles are never carried over.


View in Codesmith Need help on this PR? Tag @codesmith with what you need.

  • [ ] Let Codesmith autofix CI failures and bot reviews