Hi, what would happen if different events (not event instances) uses the same sound asset and then I load the sample data for each event via EventDescriptor::LoadSampleData()? Would there be duplicate data loaded in memory?
No, there would not be any duplicate data in memory. Studio maintains a reference count for each sound it loads, so there is only a single copy in memory at a time. This mechanism works even across banks, for example if events in different banks share the same sound asset.
1 Like
Thanks for the clear answer. Cheers.