Search Issue Tracker
Won't Fix
Votes
0
Found in
5.3.4f1
Issue ID
782471
Regression
No
[iOS] Deactivating a GameObject that has an Audio Source playing a sound spikes CPU usage
Steps to reproduce:
1. Open attached project
2. Build for iOS with 'Autoconnect Profiler' enabled
3. Build generated Xcode project to a low-end device
4. In the profiler, under CPU Usage tab, notice that GameObject.Deactivate spikes 1-5ms each time the game object with a playing audio source is deactivated
Note: You can load a scene using an in-game button that does the same (activates and deactivates objects) without audio sources and see that there are no spikes then.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] [iOS] Custom render pass is not rendered or is rendered distorted when the "renderGraph.AddBlitPass" is used
- Component is not hidden from Add Component Menu when using AddComponentMenu("")
- Unable to switch to either Facebook Instant Games/Meta Quest in the Build Profile
- Error "IndexOutOfRangeException: Index was outside the bounds of the array" logged when selecting an Element in UI Builder with a specific setup
- "native code called abort()" is thrown in WebGL player when loading first scene
povilas
Apr 09, 2016 02:42
Caused by main thread preemption by the OS. It's not possible to fix this.