Announcement

Collapse
No announcement yet.

Actor destruction / widget remove from parent and unbinding

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Actor destruction / widget remove from parent and unbinding

    Hi, this is a very simple question, but i could not find anything talking about it, when i destroy an actor or when i remove a widget from its parent, what happens to all the event bindings and does it matter in any way ?

    #2
    Originally posted by Ldle View Post
    Hi, this is a very simple question, but i could not find anything talking about it, when i destroy an actor or when i remove a widget from its parent, what happens to all the event bindings and does it matter in any way ?
    Im not entirely sure how Blueprint handles orphaned Bindings, but generally as good practice if its in Code or Blueprints you should Unbind from any Delegates in Event OnDestroy.
    Im an Moderator on UnrealSlackers Discord! Which is a Community driven group of likeminded people here to discuss UE4! Join UnrealSlackers on Discord!

    Comment

    Working...
    X