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

Burst compiler with Assembly Builder?

Discussion in 'Burst' started by Evangeder, Oct 18, 2019.

  1. Evangeder

    Evangeder

    Joined:
    Feb 5, 2014
    Posts:
    11
    Hey!
    I have written simple modding with Assembly builder which basically converts c# into DLL in runtime (into memory or hdd).

    Now, i successfully managed to make it work with job system, because scripts do execute properly.

    The problem is, while the job system works, the [BurstCompile] does not.

    Error log:
    Anyone had this problem before? Has anyone solved it?
     
  2. Carpet_Head

    Carpet_Head

    Joined:
    Nov 27, 2014
    Posts:
    256
    compiling for burst requires all sorts of stuff which isn't available at runtime, it's not possible
     
  3. Evangeder

    Evangeder

    Joined:
    Feb 5, 2014
    Posts:
    11
    Damn, that's sad to hear. Thanks!