gtreshchev / RuntimeAudioImporter

Runtime Audio Importer plugin for Unreal Engine. Importing audio of various formats at runtime.
MIT License
336 stars 69 forks source link

Problem with Example for importing audio data, why use RuntimeAudioImporter = nullptr; ? #31

Closed UnknownCUnknown closed 1 year ago

UnknownCUnknown commented 1 year ago

hello,i want to know why should use RuntimeAudioImporter = nullptr; after import sounds? I remove the code and run, then found the RuntimeAudioImporter is nullptr even if i have inited it. thank you

UnknownCUnknown commented 1 year ago

Sorry, Maybe some bug when UE debug with Rider. When I only use UE without rider, and use log to watch the variable, it is not nullptr.

gtreshchev commented 1 year ago

Hi. The plugin has no control over how you define the RuntimeAudioImporter instance and nullify it. Are you facing any issue?

UnknownCUnknown commented 1 year ago

Thanks Reply. I think the plugin has no problem. Maybe I need to learn more about ue and c++. Now the problem is solved. When I found the RuntimeAudioImporter instance is nullptr, I will init it again.