Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Burst Working in Editor but not in Player

Discussion in 'Burst' started by benzy54n, May 8, 2020.

  1. benzy54n

    benzy54n

    Joined:
    Dec 21, 2013
    Posts:
    34
    Using version 1.2.3 of Burst w/ 2019.3.7f1 Unity.

    Burst is working great when running in the editor. It doesn't seem to process when building the executable though. I don't get any warnings when building specifically relating to Burst. It does give a warning indicating that UnityEngine.TestRunner.dll and Unity.PerformanceTesting.dll were not found.


    I can tell Burst is not working because an action that takes 5 seconds in the editor is taking 50 seconds in the .exe.

    Any insight or help would be appreciated.
     
  2. DreamingImLatios

    DreamingImLatios

    Joined:
    Jun 3, 2017
    Posts:
    3,984
    Is this a generic job?
     
  3. benzy54n

    benzy54n

    Joined:
    Dec 21, 2013
    Posts:
    34
    Doesn't appear that anything gets bursted. I have IJobs and parallelJobs.
     
  4. benzy54n

    benzy54n

    Joined:
    Dec 21, 2013
    Posts:
    34
    So I think the issue is with the warnings:


    Unable to find player assembly: C:\UnityDevelopment\MapGen\Temp\StagingArea\Data\Managed\UnityEngine.TestRunner.dll
    UnityEngine.Debug:LogWarning(Object)
    Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLsImpl(BuildReport) (at Library/PackageCache/com.unity.burst@1.3.0-preview.12/Editor/BurstAotCompiler.cs:285)
    Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLs(BuildReport) (at Library/PackageCache/com.unity.burst@1.3.0-preview.12/Editor/BurstAotCompiler.cs:163)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)



    Unable to find player assembly: C:\UnityDevelopment\MapGen\Temp\StagingArea\Data\Managed\Unity.PerformanceTesting.dll
    UnityEngine.Debug:LogWarning(Object)
    Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLsImpl(BuildReport) (at Library/PackageCache/com.unity.burst@1.3.0-preview.12/Editor/BurstAotCompiler.cs:285)
    Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLs(BuildReport) (at Library/PackageCache/com.unity.burst@1.3.0-preview.12/Editor/BurstAotCompiler.cs:163)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


    It seems like this is an issue as I have seen other people complain but no real clear fix for this.
     
  5. benzy54n

    benzy54n

    Joined:
    Dec 21, 2013
    Posts:
    34
    Giving this a gentle bump as it still is an issue for me. Like I said it doesn't fail compilation but it does appear that nothing gets bursted in the executable.
     
  6. sheredom

    sheredom

    Unity Technologies

    Joined:
    Jul 15, 2019
    Posts:
    300
    Can you file a fogbugz with a repro please?