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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Burst Build pacakge failed for android and windows.

Discussion in 'Burst' started by wechat_os_Qy04AN_GgPpRAjMy-D28fBBW0, Dec 15, 2019.

  1. wechat_os_Qy04AN_GgPpRAjMy-D28fBBW0

    wechat_os_Qy04AN_GgPpRAjMy-D28fBBW0

    Joined:
    Nov 26, 2019
    Posts:
    3
    Hi
    I just upgrade my unity to 2019.3.0f3
    when I try to build a ecs project with burst, the build for android or windows will failed with the same error as below.
    Cannot find the field `TypeInfos` required for supporting TypeManager intrinsics in burst
    at Unity.Entities.TypeManager.GetTypeInfo(int typeIndex) (at E:\MortalMetropolis\Library\PackageCache\com.unity.entities@0.3.0-preview.4\Unity.Entities\Types\TypeManager.cs:431)
    at Unity.Entities.ChunkDataUtility.ReplicateComponents(Unity.Entities.Chunk* srcChunk, int srcIndex, Unity.Entities.Chunk* dstChunk, int dstBaseIndex, int count) (at E:\MortalMetropolis\Library\PackageCache\com.unity.entities@0.3.0-preview.4\Unity.Entities\ChunkDataUtility.cs:268)
    at Unity.Entities.EntityComponentStore.InstantiateEntitiesOne(Unity.Entities.EntityComponentStore* this, Unity.Entities.Entity srcEntity, Unity.Entities.Entity* outputEntities, int instanceCount, Unity.Entities.EntityComponentStore.InstantiateRemapChunk* remapChunks, int remapChunksCount) (at E:\MortalMetropolis\Library\PackageCache\com.unity.entities@0.3.0-preview.4\Unity.Entities\EntityComponentStoreCreateDestroyEntities.cs:432)
    at Unity.Entities.EntityComponentStore.InstantiateEntitiesGroup(Unity.Entities.EntityComponentStore* this, Unity.Entities.Entity* srcEntities, int srcEntityCount, Unity.Entities.Entity* outputRootEntities, int instanceCount) (at E:\MortalMetropolis\Library\PackageCache\com.unity.entities@0.3.0-preview.4\Unity.Entities\EntityComponentStoreCreateDestroyEntities.cs:502)
    at Unity.Entities.EntityComponentStore.InstantiateEntities(Unity.Entities.EntityComponentStore* this, Unity.Entities.Entity srcEntity, Unity.Entities.Entity* outputEntities, int instanceCount) (at E:\MortalMetropolis\Library\PackageCache\com.unity.entities@0.3.0-preview.4\Unity.Entities\EntityComponentStoreCreateDestroyEntities.cs:203)
    at Unity.Entities.StructuralChange.InstantiateEntitiesExecute(Unity.Entities.EntityComponentStore* entityComponentStore, Unity.Entities.Entity* srcEntity, Unity.Entities.Entity* outputEntities, int instanceCount) (at E:\MortalMetropolis\Library\PackageCache\com.unity.entities@0.3.0-preview.4\Unity.Entities\EntityManagerChangeArchetype.cs:135)

    Even a very sample empty project, if I use burst for build, it will be failed.
    But if I disable the burst compilation in AOT setting. This error disapear.
    Please help!
    My entities version is preview.4-0.3.0
    Burst version is 1.1.2
     
  2. fabrizio_unity

    fabrizio_unity

    Unity Technologies

    Joined:
    May 3, 2018
    Posts:
    47
    Hello,
    can you please try to upgrade burst to 1.2.0-preview.11 and let us know if that helps? (and please, remember to restart the editor after you upgrade burst)

    Thanks
     
  3. wechat_os_Qy04AN_GgPpRAjMy-D28fBBW0

    wechat_os_Qy04AN_GgPpRAjMy-D28fBBW0

    Joined:
    Nov 26, 2019
    Posts:
    3
    Hi, I found If I change the project to original render pipeline, the problem gone, so that maybe a bug between urp and burst.