Hi all,
Project was running fine before upgrading to Unity 5, 60fps consistently.
After upgrade I seem to get lag spikes every 1 second or so under the call Loading.LoadFileHeaders (see attached screenshot from the profiler). Has anyone else also encountered this? I just assumed it was Smartfox causing this as it is in the Smartfox part of the hierarchy and another project I tested that doesn't use Smartfox didn't have lag spikes.
Regards
Brockemon
Lag spikes after upgrading to Unity 5
Lag spikes after upgrading to Unity 5
- Attachments
-
- UnityGoingSlowWithSmartfox.png
- (237.68 KiB) Not downloaded yet
Re: Lag spikes after upgrading to Unity 5
Hi,
I have no idea what Loading.LoadFileHeaders is...
Isn't it part of your code? What does it do?
Of all the calls below the SFSManager node I am not able to recognize anything familiar from the SFS API.
Cheers
I have no idea what Loading.LoadFileHeaders is...
Isn't it part of your code? What does it do?
Of all the calls below the SFSManager node I am not able to recognize anything familiar from the SFS API.
Cheers
Re: Lag spikes after upgrading to Unity 5
Yes,
I also posted on the Unity forums under the Android section. Seems other people are having issues as well.
I think it might just be a coincidence that the performance hit is on an object that is associated with Smartfox. It might be due to the fact that the GameObject is set to Don't Destroy On Load or something like that.
Just wanted to see if anyone was having similar issues.
-Brock
I also posted on the Unity forums under the Android section. Seems other people are having issues as well.
I think it might just be a coincidence that the performance hit is on an object that is associated with Smartfox. It might be due to the fact that the GameObject is set to Don't Destroy On Load or something like that.
Just wanted to see if anyone was having similar issues.
-Brock
Re: Lag spikes after upgrading to Unity 5
On a separate note our online game www.stickempires.com has enjoyed over 3 millions users over the past 2.5 years and uses Smartfox. Thanks for the awesome product.