File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,10 @@ public static void Build(string[] args)
108108#else
109109 PlayerSettings . WebGL . debugSymbols = true ;
110110#endif
111+
112+ #if UNITY_2022_2_OR_NEWER
113+ PlayerSettings . WebGL . showDiagnostics = true ;
114+ #endif
111115 buildPlayerOptions . options |= BuildOptions . Development ;
112116 }
113117 else
Original file line number Diff line number Diff line change @@ -108,7 +108,9 @@ private static void UpdatePackages()
108108
109109 string latestVersion = IncludePrereleases ?
110110 package . versions . latestCompatible :
111- #if UNITY_2019_3_OR_NEWER
111+ #if UNITY_2022_3_OR_NEWER
112+ package . versions . recommended ;
113+ #elif UNITY_2019_3_OR_NEWER
112114 package . versions . verified ;
113115#else
114116 package . versions . recommended ;
You can’t perform that action at this time.
0 commit comments