B4 and B5 become progressively slower entering play over time and editor crash on quit.

Is this a known thing? I ask since it happens on any project.

Hey @hippocoder ,

Are these new issues or have you encountered any of them in previous 21.2 releases before? What version were you using before upgrading to 21.2 and encountering these problems? We’ll need more info to look into this so bug reports would be much appreciated.

Regarding progressively worsening enter playmode times:

1 Like

I get it. This is probably actually a bug because while I am not actually using InitializeOnLoad at all, and I am not actually creating scriptable objects, [ExecuteInEditMode] is probably doing the same thing! pass this on to your engineers:

    [ExecuteInEditMode]
    public class Game : MonoBehaviour
    {
        public GameResources resources;

GameResources is a simple scriptableobject that gets domain reloaded constantly due to ExecuteInEditMode! But it is Unity’s bug in this case, or oversight that’s related.

I just don’t have time for a bug report today, too old and tired :slight_smile: Thank you for the tip, pointed me to the only place I have scriptable objects.

I do not think [ExecuteInEditMode] was considered.

1 Like

Actually disregard that. It is still happening. Longer and longer times to enter playmode with this pop up is the usual sign:

7388984--902063--upload_2021-8-4_17-56-45.png

This does not occur in 2021.1 versions.

This might be helpful if you want to investigate where the regression occurs:

2 Likes