Editor Freeze on Open or Play in Unity 2017.1.1f1

More
7 years 1 month ago #2464 by dkilford
Hi,

I've been using I2Localization for a few months, and I started getting this problem after upgrading to the latest version of unity.

Upon opening or hitting play in a blank unity project with just I2Localization installed from the asset store and using default settings with an internet connection the editor freezes for 10+ minutes. I noticed these freezes don't happen if there is no active internet connection.

It appears to be waiting for a connection to time out before it lets the project continue.

Attached are the profiler snapshots of this happening, with the spikes highlighted.

Tested on:
I2 Localization Version2.7.0 f1
Unity 2017.1.1f1
Windows 8.1
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 1 month ago #2465 by Frank
Hi,
That maybe related to some of the initializations/update checks.
I removed all that overhead in the latest beta version, but that's still not available in the Assetstore.

Can you try commenting out the [InitializeOnLoadMethod] attribute in the file Assets\I2\Common\Editor\I2AboutWindow.cs line 332

It should look like this:
        //[InitializeOnLoadMethod]     <--- comment this line
        public static void LoadPluginDataOnStartup()
        {
            I2AboutHelper.StartCheckingForUpdates();
            if (PluginsData == null)
                LoadPluginsData(false);
        }

Hope that helps,
Frank

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out

Please Log in or Create an account to join the conversation.

More
7 years 1 month ago #2466 by dkilford
Thanks!

That seems to have done the trick

Please Log in or Create an account to join the conversation.

Time to create page: 0.136 seconds
Template by JoomlaShine