Reload Assemblies making enterplaymode take long
I've seen others saying that clicking the play button takes them only a second or two to get into play mode. For me it takes around 7-9 seconds every time regardless of if I do the switching build target trick (to reload the targeted platform) or click play several times consecutively.
Thus, I tried profiling the editor a few times to try and find where my issues may arise. Then this got logged,
ReloadAssemblies is taking more than 4 seconds by itself. Is it even normal for ReloadAssemblies to trigger every single time I press play? If so, is it avoidable?
I've seen this, LockReloadAssemblies which I haven't tried as it doesn't seem like something I should use to solve this (though I'll try it). Has anyone else had this issue or maybe know of something I can try?
Processor: Intel Core i7-4700MQ 2.40Ghz (3.20 Ghz when it's doing any decent lifting)
Memory: 16GB
Graphics Card: Intel Graphics 4600 and Nvidia GTX 765M (Default)
Answer by EtherealPineapple · Apr 01, 2018 at 10:22 PM
I've got this problem as well, but I don't know what to do...
Answer by scarofsky · Jun 18, 2019 at 07:38 AM
profile your editor, it is often caused by "reaload assemblies"'s GC.
Answer by TheSwanCollective · Nov 30, 2021 at 04:11 PM
Switched to Unity 2021 from 2019 and suddenly got this problem as well. Never had this before. What's going on?
Your answer
Follow this Question
Related Questions
Whenever I try to enter playmode after creating a script, a compiler error pops up 0 Answers
Warning window when entering play mode from prefab 0 Answers
Going into Play Mode is slow(er than we'd like) 1 Answer
Editor hangs (freezes) after pressing play. Possible loop? Have to force quit. 1 Answer
EnterPlayMode very slow because of AttemptInitializeXRSDKOnLoad 0 Answers