Skip to content

Commit a1b88fd

Browse files
authored
Webgl fix (#808)
* Webgl fix Made the write file step happen after the database refresh. * Published Solution Dependencies to Package Libraries as DLLs --------- Co-authored-by: sneakzttv <[email protected]>
1 parent 3e4c5e4 commit a1b88fd

14 files changed

+2
-2
lines changed

Packages/io.chainsafe.web3-unity/Editor/WebGLTemplateSync.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ internal static void Syncronize()
6666
var templatesFolder = new DirectoryInfo(Path.Combine(pluginPath, "Editor/WebGLTemplates"));
6767

6868
CopyFolder(templatesFolder, assetsTemplatesDirectory);
69-
// Update template values to chain config
70-
ChainSafeServerSettings.WriteNetworkFile();
7169
}
7270
finally
7371
{
7472
AssetDatabase.AllowAutoRefresh();
7573
AssetDatabase.Refresh();
74+
// Update template values to chain config
75+
ChainSafeServerSettings.WriteNetworkFile();
7676
}
7777
}
7878

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)