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

Bug Entities V1.0.16 issue : Burst failed to compile the function pointer

Discussion in 'Entity Component System' started by Valentinhon, Sep 14, 2023.

  1. Valentinhon

    Valentinhon

    Joined:
    Oct 20, 2019
    Posts:
    71
    Hello guys,

    I've tried to install Entities package from package manager but I've got this error :
    Code (CSharp):
    1. InvalidOperationException: Burst failed to compile the function pointer Void ProcessQueuedCommands$BurstManaged()
    2. Unity.Burst.BurstCompiler.Compile (System.Object delegateObj, System.Reflection.MethodInfo methodInfo, System.Boolean isFunctionPointer, System.Boolean isILPostProcessing) (at ./Library/PackageCache/com.unity.burst@1.8.8/Runtime/BurstCompiler.cs:460)
    3. Unity.Burst.BurstCompiler.CompileILPPMethod2 (System.RuntimeMethodHandle burstMethodHandle) (at ./Library/PackageCache/com.unity.burst@1.8.8/Runtime/BurstCompiler.cs:226)
    4. Unity.Entities.Content.RuntimeContentManager+ProcessQueuedCommands_00001AC8$BurstDirectCall.Constructor () <0x42283860 + 0x0006b> in <e4a06a8e304b470599134984a4ac55fd>:0
    5. Unity.Entities.Content.RuntimeContentManager+ProcessQueuedCommands_00001AC8$BurstDirectCall..cctor () <0x422837a0 + 0x0005b> in <e4a06a8e304b470599134984a4ac55fd>:0
    6. Rethrow as TypeInitializationException: The type initializer for 'Unity.Entities.Content.ProcessQueuedCommands_00001AC8$BurstDirectCall' threw an exception.
    7. Unity.Entities.Content.RuntimeContentManager.ProcessQueuedCommands () (at ./Library/PackageCache/com.unity.entities@1.0.16/Unity.Entities/Content/RuntimeContentManager.cs:673)
    8. Unity.Entities.Content.RuntimeContentSystem.Update () (at ./Library/PackageCache/com.unity.entities@1.0.16/Unity.Entities/Content/RuntimeContentSystem.cs:94)
    9. UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /home/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:362)
    I've updated all dependencies of the package but that has not solved my issue.
    I've updated Burst package
    I'm using Unity 2022.3.8f1
    I've restarted Unity
    I've removed and re-install the package

    Can someone has successfully install the last version ?
     
  2. Valentinhon

    Valentinhon

    Joined:
    Oct 20, 2019
    Posts:
    71
    I've tried V1.0.14 but it's the same error
     
  3. plu83

    plu83

    Unity Technologies

    Joined:
    Jul 17, 2020
    Posts:
    6
    Have you tried nuking your project's Library folder?
     
  4. Valentinhon

    Valentinhon

    Joined:
    Oct 20, 2019
    Posts:
    71
    I've nuked the Library folder but still same problem.
    I've uninstall Burst and re-install it but still same problem
    I create a totally new project and still same problem

    Anyone has other idea to try ?
     
  5. plu83

    plu83

    Unity Technologies

    Joined:
    Jul 17, 2020
    Posts:
    6
    Has Entities ever worked for your project and computer? Which operating system are you using?
     
  6. Valentinhon

    Valentinhon

    Joined:
    Oct 20, 2019
    Posts:
    71
    Hi @plu83 sorry for the delay to answer.
    I'm using Pop-OS 22.04
     
  7. Valentinhon

    Valentinhon

    Joined:
    Oct 20, 2019
    Posts:
    71
    Ok it seems Pop-OS 22.04 doesn't support Burst and Entities packages :'(