We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17849f8 commit bb84de2Copy full SHA for bb84de2
Editor/GenericTypesAnalyzer/CompilationHelper.cs
@@ -4,6 +4,7 @@
4
using UnityEditor.Compilation;
5
using UnityEngine;
6
7
+ [InitializeOnLoad]
8
internal static class CompilationHelper
9
{
10
private const string CompiledOnceKey = "CompiledOnce";
@@ -24,6 +25,7 @@ public static void RecompileOnce()
24
25
26
PlayerPrefs.SetInt(CompiledOnceKey, 1);
27
PlayerPrefs.Save();
28
+ Debug.Log("requesting compilation");
29
CompilationPipeline.RequestScriptCompilation();
30
}
31
0 commit comments