Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Multi cast delegate becoming unbound after time in editor.

I've got a UObject method bound to a delegate that becomes unbound after a period of time. This screams GC issues, but the object that holds the methods is a UPROPERTY and there are other methods belonging to said object bound to delegates that are still there which seems to remove that as a contender for cause. I also only have two code paths that will unbind the delegate in my project both of which would clear the other methods that have been bound to the other delegate but to be sure I've put a break point on both of these paths to ensure that they are not being hit.

I also found that the problem only exists when I run the game with the editor, and I am unable to reproduce the issue when I run either Debug Game or Development builds. This is causing me concern as I have no idea how the editor would be unbinding this single delegate consistently and would like to understand if only to ensure that running the editor does not just make the problem less frequent.


Product Version: UE 4.17
more ▼

asked Jan 05 '18 at 11:40 AM in C++ Programming

avatar image

1 2 3 3

avatar image Jin Jay May 09 '18 at 01:40 AM

Have you solved the problem? I've got a blueprint custom event that becomes unbound after a period of time.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question