Thank you for submitting your inquiry.
You can track the status of your inquiry here.
You may want to save your case's ticket: 861189_deb0tebbc8rt0vl0


    (Closed) EditorApplication.delayCall does not work in the command line
     
     
     
    5
    EditorApplication.delayCall does not work in the command line

    1. What happened
    After upgrading to Unity 5.5, some of my scripts no longer work from the command line. Turns out that EditorApplication.delayCall no longer works.

    2. How we can reproduce it using the example you attached
    1) Run the following command line using the attached project: "C:\Program Files\Unity\Editor\Unity.exe" -batchmode -nographics -logfile mylog.txt -projectPath "D:\Unity\Unity 5 projects\CommandLineDelayCall" -executeMethod MyDelayedCall.MyMethod
    2) Look inside mylog.txt. You can see that only MyMethod is called. MyDelayedMethod is never run. (see attached mylog5.5.txt)
    3) Trying this using Unity 5.4.0f3 works as expected (see mylog5.4.txt attached)

    License type: Pro
     
       
      To follow up on this case, send email to bugs@unity3d.com mentioning 'Case 861189' in the subject.
      Your Cases:
      Case Title Status Date Opened
      1071528 MissingReferenceException when trying to access target in custom inspector OnDisable during build Closed 8/16/2018 4:00 PM
      948840 Delay Call is not run when called from command line Closed 9/6/2017 8:20 PM
      861189 EditorApplication.delayCall does not work in the command line Closed 12/13/2016 8:12 PM
      860810 -buildTarget command line argument crashes the editor Closed 12/12/2016 7:30 PM
      699798 When I try to deploy my Windows Store Apps game, it does not find the native plugins included in the project Closed 5/27/2015 6:01 PM
      696799 PS4 module automatically tags .prx files as a PS4 plugin Closed 5/14/2015 2:18 PM
      678039 Plugin Importer settings are not persisted while exporting a .unitypackage on Mac only Closed 3/6/2015 4:58 PM
      668098 Updated files from a .unitypackage do not overwrite existing Closed 1/29/2015 8:30 PM
      653125 PluginImporter.SetCompatibleWithAnyPlatform(false) should Closed 12/3/2014 8:59 PM
      648031 PluginImporter API not working Closed 11/14/2014 7:49 PM
      648027 Need to restart Editor for plugin platform changes to take Closed 11/14/2014 7:29 PM
      639023 When I build my game, it can't find the native plugin I'm Open 10/10/2014 8:18 PM
      638441 When I import NoCompileWithPlugins.unitypackage in an empty Closed 10/9/2014 7:18 PM