Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions source/VersionHandlerImpl/src/VersionHandlerImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2299,11 +2299,14 @@ private static void LoadLogPreferences() {
/// and remove files from older manifest files.
/// </summary>
static VersionHandlerImpl() {
Log("Loaded VersionHandlerImpl", verbose: true);
RunOnMainThread.Run(() => {
LoadLogPreferences();
UpdateVersionedAssetsOnUpdate();
}, runNow: false);
if (!EditorApplication.isPlayingOrWillChangePlaymode)
{
Log("Loaded VersionHandlerImpl", verbose: true);
RunOnMainThread.Run(() => {
LoadLogPreferences();
UpdateVersionedAssetsOnUpdate();
}, runNow: false);
}
}

static void UpdateVersionedAssetsOnUpdate() {
Expand Down