menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

0 支持

TSet::ToArray makes heap allocations.  Given how frequently RefreshObstructionAndOcclusion is called, if (in_Listeners.Array().FindByPredicate(ListenerIDsMatch) == nullptr) is likely to put undue pressure on memory allocation.

I made a slightly different change at the top of that loop.  Would you be willing to merge it?
 

bool bFoundValid = false;
for (TWeakObjectPtr<UAkComponent> InListener : in_Listeners)
{
    if (InListener.IsValid() && InListener->GetAkGameObjectID() == Listener)
    {
       bFoundValid = true;
       break;
    }
}

if (!bFoundValid)
{
    It.RemoveCurrent();
    continue;
}
Timothy F. (100 ポイント) General Discussion

回答 1

0 支持
The Community Q&A is not the right channel to report this Timothy. Please follow the instructions found here to report a bug: https://www.audiokinetic.com/en/library/wwise_launcher/?source=InstallGuide&id=reporting_bugs.
Guillaume R. (Audiokinetic) (8.8k ポイント)
...