Update possibly killed game's load times?

Node-based Shader Editor
Post Reply
sazberryftw
Posts: 27
Joined: Wed Aug 23, 2017 1:38 pm

Update possibly killed game's load times?

Post 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
sazberryftw
Posts: 27
Joined: Wed Aug 23, 2017 1:38 pm

Re: Update possibly killed game's load times?

Post 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.
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Update possibly killed game's load times?

Post 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.
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
sazberryftw
Posts: 27
Joined: Wed Aug 23, 2017 1:38 pm

Re: Update possibly killed game's load times?

Post 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
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Update possibly killed game's load times?

Post 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!
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Post Reply