Search Issue Tracker

Fixed in 0.1.1-preview.2

Votes

1

Found in [Package]

preview - 0.1.0

Issue ID

1173258

Regression

Yes

Console spams error messages in Play mode when Entity Debugger is open and using EntityManager.CreateEntity()

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open the user's attached project and load 'SampleScene' scene
2. In Editor select 'Window' > 'Analysis' > 'Entity Debugger'
3. Enter play mode
4. Observe the Console window

Expected result: no exceptions are thrown
Actual result: exceptions are thrown constantly

Reproducible with: 2019.1.13f1, 2019.2.0f1, 2019.3.0a11 (preview - 0.1.0)
Not reproducible with: 2019.1.13f1 (preview.30, preview.33), 2019.2.0f1 (preview.30)
Could not test with: 2018.4.5f1 (preview.24) due to script errors, 2019.3.0a11 (preview.33 and earlier) due to package errors

Exception:
InvalidOperationException: Sequence contains no elements
System.Linq.Enumerable.Last[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <b7efe7e6e548497fac3c4a6049a0a4b6>:0)
Unity.Entities.Editor.EntityQueryGUIControl.UpdateSize (System.Single newWidth) (at Library/PackageCache/com.unity.entities@0.1.0-preview/Unity.Entities.Editor/CommonGUI/EntityQueryGUIControl.cs:119)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.