Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug SparseUploader.compute: Kernel at index (0) is invalid

Discussion in 'Graphics for ECS' started by vanRepin, Mar 16, 2024.

  1. vanRepin

    vanRepin

    Joined:
    Oct 29, 2013
    Posts:
    2
    Hi, we using entities graphics 1.2-pre.12 for our mobile game. On lower end devices it spam error.
    Device: Samsung Galaxy S7 Edge
    Code (CSharp):
    1. SparseUploader.compute: Kernel at index (0) is invalid
    2.  
    3. Unity.Rendering.SparseUploader:DispatchUploads(Int32, GraphicsBuffer)
    4. Unity.Rendering.SparseUploader:EndAndCommit(ThreadedSparseUploader)
    5. Unity.Rendering.EntitiesGraphicsSystem:EndUpdate()
    6. Unity.Rendering.EntitiesGraphicsSystem:OnUpdate()
    7. Unity.Entities.SystemBase:Update()
    8. Unity.Entities.ComponentSystemGroup:UpdateAllSystems()
    9. Unity.Entities.SystemBase:Update()
    non entity graphics objects(GameObjects) rendered just fine with the same shader.
    any hints what I should look into?