mush
New Member
Posts: 39
Posts: 39
|
Post by mush on Feb 5, 2017 0:57:10 GMT
Just updated to Master Audio 4.0.7 and noticed a problem with SoundGroupVariationUpdater I was getting a lot of GC from SoundGroupVariationUpdater.LateUpdate() On inspection I noticed it was UpdateOcclusion() and DoneWithOcclusion() which were causing it. Interestingly enough I am not using Occlusion on any sounds and have indeed unchecked Use Occlusion on the Master Audio Prefab. If I rem the three lines out which call these functions I get back to 0 GC for SoundGroupVariationUpdater. Apart from that all is great with Master Audio 4.0.7 update so far </attachment></attachment></attachment></attachment>
|
|
|
Post by DarkTonic Dev on Feb 5, 2017 4:24:00 GMT
Ok I'll take a look, thanks.
|
|
mush
New Member
Posts: 39
Posts: 39
|
Post by mush on Feb 21, 2017 2:15:54 GMT
Just updated to Master Audio 4.0.8 and can confirm that the GC problem has been fixed - thanks for your quick turnaround.
P.S. Just as a test I can confirm that there is no longer any Garbage Collection whether or not occlusion is turned off or on. As you have stated there is a very slight GC process during the frame that you turn it on during runtime - but who would do this anyway and as far as programming goes is completely unavoidable anyway.
Thanks again.
|
|
|
Post by DarkTonic Dev on Feb 21, 2017 2:33:59 GMT
No problem, thank you for informing us of the problem so we could address it quickly.
You won't be turning it on/off during a game deployed to a device anyway.
|
|