arnaud-jamin / Cog

Cog is a set of debug tools for Unreal Engine built on top of Dear ImGui
MIT License
357 stars 44 forks source link

Avoided ENSURE_ABILITY_IS_INSTANTIATED in GetCurrentAbilitySpec() #14

Closed klechenov closed 1 year ago

klechenov commented 1 year ago

At the start of the game, ensure is triggered, which is located in the ENSURE_ABILITY_IS_INSTANTIATED macro inside the GetCurrentAbilitySpec() function. I don’t break the logic with my check, but I avoid triggering ensure every time