@@ -821,6 +821,7 @@ def _switch_to_latest_runtime(dir_helper, arg_builder):
821
821
dir_helper .copy_editor_script ("RuntimeSwitcher.cs" )
822
822
arg_builder .set_log_file (dir_helper .make_log_path ("switch_runtime" ))
823
823
_run (arg_builder .get_args_for_method ("RuntimeSwitcher.SwitchToLatest" ))
824
+ time .sleep (0.5 )
824
825
825
826
826
827
def _create_unity_project (dir_helper ):
@@ -845,6 +846,7 @@ def _import_unity_plugins(dir_helper, arg_builder):
845
846
name = os .path .splitext (os .path .basename (plugin_path ))[0 ]
846
847
arg_builder .set_log_file (dir_helper .make_log_path ("import_" + name ))
847
848
_run (arg_builder .get_args_for_import (plugin_path ))
849
+ time .sleep (0.5 )
848
850
849
851
850
852
# Unity Package Manager is Unity's newer style of packaging.
@@ -861,6 +863,7 @@ def _import_upm_packages(dir_helper, arg_builder):
861
863
arg_builder .get_args_for_method (
862
864
method = "PackageImporter.Import" ,
863
865
method_args = ["-PackageImporter.package" , package ]))
866
+ time .sleep (0.5 )
864
867
865
868
866
869
# In an automated context with batchmode, it was found that these
@@ -877,13 +880,15 @@ def _enable_firebase_assemblies(dir_helper, arg_builder):
877
880
method_args = [
878
881
"-PluginToggler.plugins" ,
879
882
"Firebase.Editor.dll,Google.VersionHandlerImpl" ]))
883
+ time .sleep (0.5 )
880
884
881
885
882
886
def _edm4u_update (dir_helper , arg_builder ):
883
887
"""Tells EDM4U (External Dependency Manager For Unity) to update."""
884
888
arg_builder .set_log_file (dir_helper .make_log_path ("versionhandler_update" ))
885
889
logging .info ("Running VersionHandler.UpdateNow..." )
886
890
_run (arg_builder .get_args_for_method ("Google.VersionHandler.UpdateNow" ))
891
+ time .sleep (0.5 )
887
892
888
893
889
894
def _copy_unity_assets (dir_helper , files_to_ignore ):
0 commit comments