#Lag spike help

1 messages · Page 1 of 1 (latest)

azure mason
#

Every time the bossfight starts I get a large lag spike, both in the editor and the build. I have caught it with the profiler but don't really understand why that takes 718ms, does anyone else know?

pearl oxide
azure mason
#

I have a sound manager script in my project, but it doesn't look like this.

pearl oxide
#

Can you share the code from your boss fight sequence coroutine?

azure mason
#

Right now I set the clip to load in the background and I'll see if that improves it

#

Yea now I get no spike, I'll have to double check in build later tho

#

Also, if I get a lot of spikes from EditorLoop that's nothing to worry about right?