Antoshidza / NSprites-Foundation

Basic assets for working with NSprites package
MIT License
65 stars 17 forks source link

Bug: Has PropertyPointer but no PropertyPointerChunk #24

Open aceofpack opened 1 month ago

aceofpack commented 1 month ago

Just following foundation readme - I get this error after unticking the subscene to bake. Unity 2023.2.20f1

NSprites.NSpritesException: RenderArchetype -10374 issue report:
    #0 EntityArchetype 5302ba8ee709e643 has next issues:
        Has PropertyPointer but no PropertyPointerChunk. It shouldn't happen, please, contact developer https://github.com/Antoshidza

UnityEngine.Debug:LogError (object)
NSprites.ValidateRenderArchetypesSystem:OnUpdate (Unity.Entities.SystemState&) (at ./Library/PackageCache/com.tonymax.nsprites@184502dcc4/Rendering/Debug/ValidateRenderArchetypesSystem.cs:220)
NSprites.ValidateRenderArchetypesSystem:__codegen__OnUpdate (intptr,intptr)
Unity.Entities.SystemBaseRegistry/<>c__DisplayClass9_0:<SelectBurstFn>b__0 (intptr,intptr) (at ./Library/PackageCache/com.unity.entities@1.2.3/Unity.Entities/SystemBaseRegistry.cs:249)
Unity.Entities.WorldUnmanagedImpl/Unity.Entities.UnmanagedUpdate_0000162A$BurstDirectCall:Invoke (void*)
Unity.Entities.WorldUnmanagedImpl:UnmanagedUpdate (void*) (at ./Library/PackageCache/com.unity.entities@1.2.3/Unity.Entities/WorldUnmanaged.cs:825)
Unity.Entities.WorldUnmanagedImpl:UpdateSystem (Unity.Entities.SystemHandle) (at ./Library/PackageCache/com.unity.entities@1.2.3/Unity.Entities/WorldUnmanaged.cs:891)
Unity.Entities.ComponentSystemGroup:UpdateAllSystems () (at ./Library/PackageCache/com.unity.entities@1.2.3/Unity.Entities/ComponentSystemGroup.cs:717)
Unity.Entities.ComponentSystemGroup:OnUpdate () (at ./Library/PackageCache/com.unity.entities@1.2.3/Unity.Entities/ComponentSystemGroup.cs:681)
Unity.Entities.SystemBase:Update () (at ./Library/PackageCache/com.unity.entities@1.2.3/Unity.Entities/SystemBase.cs:418)
Unity.Entities.ScriptBehaviourUpdateOrder/DummyDelegateWrapper:TriggerUpdate () (at ./Library/PackageCache/com.unity.entities@1.2.3/Unity.Entities/ScriptBehaviourUpdateOrder.cs:523)
Antoshidza commented 1 month ago

This day came. This is what makes me mad about entities. There is some helpful comment in unity forum (screen below). You can try to patch it yourself or wait until I do it. Or not use entities 1.2, because they have lots of incompatibilities with NSprites and I can't know take time for this unfortunately image