Search Unity

'Sequence contains no elements' ERROR for Entity debugger window

Discussion in 'Entity Component System' started by Rubakai, Aug 3, 2019.

  1. Rubakai

    Rubakai

    Joined:
    Aug 27, 2015
    Posts:
    32
    Hi all,

    I am running 2019.2.0f1 unity and have recently experienced huge issues with the Entity debugger window. Whenever I open or focus on the Entity debugger window I get a huge number of assertions. I have tried with just the simplets ECS script (see below), but have repeated errors (see below). Again this only ever happens when I focus the Entity debugger window. Thanks for any feedback.

    Code (CSharp):
    1. using System.Collections;
    2. using System.Collections.Generic;
    3. using UnityEngine;
    4. using Unity.Entities;
    5.  
    6. public class Testing : MonoBehaviour
    7. {
    8.     // Start is called before the first frame update
    9.     void Start()
    10.     {
    11.         EntityManager entityManager = World.Active.EntityManager;
    12.  
    13.         entityManager.CreateEntity();
    14.  
    15.     }
    16.  
    17. }

     
    Silenus3 likes this.
  2. Silenus3

    Silenus3

    Joined:
    Jun 5, 2019
    Posts:
    20
    same here
     
  3. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Try adding components to the entity. It could be due to 0 components attached debugger is getting confused.
     
  4. Silenus3

    Silenus3

    Joined:
    Jun 5, 2019
    Posts:
    20
    I could create an empty entity before
     
  5. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,776
    Similar here
    upload_2019-8-6_4-18-56.png

    Moving mouse between any GUI element, generate these errors. But only when Entities are displayed in debugger.