Page 1 of 1

Update possibly killed game's load times?

PostPosted: Tue Jan 09, 2018 12:37 pm
by sazberryftw
Hi,

I have just upgraded ASE to v1.4.2.002 (previous version v1.2.1) and have noticed an extremely large increase in my load times, from <5 seconds to >40 seconds.

I am loading the scenes asynchronously, using the code:
Code: Select all
        yield return SceneManager.LoadSceneAsync(level.MainSceneName, LoadSceneMode.Single);

        for (int i = 0; i < level.SubScenes.Length; i++)
        {
            yield return SceneManager.LoadSceneAsync(level.SubScenes[i], LoadSceneMode.Additive);
        }


This issue only occurs in editor, within builds the load is fine. I understand this is a strange issue to do with ASE but the only thing that I've changed in my project was the version of the plugin used. Once I revert back to before the update, my load times are fine again.

Was anything added between these versions that may be affecting load times that wasn't there before?

Thanks
Sarah

Re: Update possibly killed game's load times?

PostPosted: Tue Jan 09, 2018 1:20 pm
by sazberryftw
I managed to narrow down the problem to the "Snow_Bricks.sbsar" asset's meta file. Replacing the meta file fixes my issue.

Re: Update possibly killed game's load times?

PostPosted: Tue Jan 09, 2018 2:29 pm
by Ricardo Teixeira
sazberryftw wrote:I managed to narrow down the problem to the "Snow_Bricks.sbsar" asset's meta file. Replacing the meta file fixes my issue.


Thank you for letting us know that it's not necessarily ASE related, we really appreciate. Sounds like it might be caused by the substance texture generation parameters, the Load Behavior could have been be set to Build on Load.

Re: Update possibly killed game's load times?

PostPosted: Tue Jan 09, 2018 2:51 pm
by sazberryftw
Thanks, however that asset is back to causing issues, and I can no longer generate a correct meta file. Changing the load behaviour doesn't have any effect on load times. I will delete this asset for now, and send a bug report to unity about it

Re: Update possibly killed game's load times?

PostPosted: Tue Jan 09, 2018 3:01 pm
by Ricardo Teixeira
sazberryftw wrote:Thanks, however that asset is back to causing issues, and I can no longer generate a correct meta file. Changing the load behaviour doesn't have any effect on load times. I will delete this asset for now, and send a bug report to unity about it


Interesting, thank you for letting us know. We recommend posting the issue on the Unity forum or answers section, the community is quite responsive.

Thanks!