Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

I've disabled Burst, compiling with Mono, still get Burst compilation errors

Discussion in 'Burst' started by Dreamback, Dec 17, 2019.

  1. Dreamback

    Dreamback

    Joined:
    Jul 29, 2016
    Posts:
    220
    When I run my game, I'm getting this error:

    To my knowledge there's no way Burst should be trying to compile anything. In the Jobs menu -> Burst, Enable Compilation is unchecked. In Project Settings->Burst AOT Settings, Disable Burst Compilation is checked. In Project Settings->Player, the scripting backend is Mono, not IL2CPP.

    This is with Unity 2019.3.0f3, Burst 1.1.2, Entities Preview.10-0.4.0. Linux, Vulkan.
     
  2. Dreamback

    Dreamback

    Joined:
    Jul 29, 2016
    Posts:
    220
    Now I'm trying to build for Linux from Windows, and can't even build because of this. I have Burst disabled, but I get the error that the Burst compiler filed.

     
  3. Dreamback

    Dreamback

    Joined:
    Jul 29, 2016
    Posts:
    220
    The problem was that even though I changed the setting in Unity's Project Settings, it was not changing the actual BurstAotSettings_StandaloneLinux64.json file, so Burst compilation was still enabled.
     
  4. asad133

    asad133

    Joined:
    Apr 1, 2020
    Posts:
    22
    Any luck with this? I have the same issue
     
  5. asad133

    asad133

    Joined:
    Apr 1, 2020
    Posts:
    22
    Upgraded ml-agents per advice from developers and latest version allows you to disable Burst and cross build to Linux