MSCompatUnicodeTable takes a long time when entering Playmode

I followed the instructions from @lukaszunity posted here:
Example Project - Assembly Definition Files page-3#post-3292894

… in order to debug the >5s delay we experience after script compilation. It turns out that more often than not, the profiler shows up a single class MSCompatUnicodeTable taking an extraordinary amount of time (2.5s), and no other classes/methods. Functions were either HasSpecialWeight() and Category() and the Total % is over 22 million. :smile:

Here’s an example from the editor profiling:

My question: what should we make of this?
Can we assume that this means the delay we’re experiencing is due to Unity internally doing stuff rather than us wasting time with an InitializeOnLoad script?

1 Like

Actually the classes/methods that come up seem totally random:

I see … it’s probably related to this:

Skipping profile frame. Receiver can not keep up with the amount of data sent