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"

Zombie audio files after game exits

I have an audio folder with a few wav files that are loaded in C++ using LoadObject(). After some recent changes, after I press ESC to exit the game in the editor, that there are zombie audio files that are empty called "None" in the content browser (which disappear if I quit and reload) - see image. I also cannot load the audio files if I run again till I restart. Any ideas what causes this?alt text

Product Version: UE 4.11
audio-oddness.png (53.3 kB)
more ▼

asked Jun 22 '16 at 05:03 PM in Using UE4

avatar image

54 4 11 11

avatar image lordGoldemort Jun 23 '16 at 09:25 AM

Additional info: when I create the audio files, I use UObject::AddToRoot() to prevent GC. When I tear down, I call UObject::ConditionalBeginDestroy(). If I take the latter call away, the zombie files don't appear. But won't I be leaking memory, or does the root set get destroyed at exit?

avatar image Shadowriver Jun 23 '16 at 10:10 AM

did you tried calling RemoveFromRoot() before remove attempt?

avatar image lordGoldemort Jun 23 '16 at 12:14 PM

I shall try that this evening. Thx!

avatar image lordGoldemort Jul 03 '16 at 10:50 PM

OK sorry about the delay in getting back, so busy around here... It wasn't RemoveFromRoot(), it sort of stopped happening to my audio files when I remove the teardown code (ConditionalBeginDestroy()) but now it's happening to my particle systems. Could really use some help on this, Epic?alt text

(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