On my Mac I upgraded from 2021.2.19f1 to 2022.1.6f1 and now the standalone profiler complains the moment that I press the Deep Profile button. Following the upgrade it says,
RefreshInternalV2 is called before InitialRefresh has been called and asset database isn’t fully initialized.
I’m hoping not to revert back to 2021.2.19f1, if that is even possible. That version was not profiling for a different reason, since I changed my Steam library from Facepunch.Steamworks to Steamworks.Net.
I’m not certain what do with this error that is preventing profiling my app. It seems like today will not be a fun day.
I am also seeing this in the Player.log
Stopping profiler. Profiler is not able to flush data to a file or socket and exceeded maximum allowed memory for buffering. Please use Profiler.maxUsedMemory API or -profiler-maxusedmemory command line parameter to increase maximum allowed memory usage.
I am getting this issue as well when using anything above a 2020 version. It happens whether or not I use a deep profile. Something to note is that this bug seems to cause a re-importing/re-serializing(A loading of some sort. Takes from 10-25 seconds.) of assets in the editor every time the assets folder changes.
I’m also getting the “RefreshInternalV2 is called before InitialRefresh has been called and asset database isn’t fully initialized.” error in the Standalone Profiler Console, spammed hundreds of times per second. It always crashes when closed.