Search Issue Tracker
Fixed in 0.0.12-preview.23
Votes
0
Found in [Package]
preview.21 - 0.0.12
Issue ID
1096641
Regression
No
ArgumentException errors appear when selecting a Hybrid Entity
To reproduce:
1. Open attached project
2. Enter Play Mode
3. Open Entity Debugger
4. Select Entity 0
Expected results: no errors
Actual results: these errors are received:
ArgumentException: GetComponentDataRaw<WobblerComponent> can not be called with a zero sized component.
Unity.Entities.EntityManager.GetComponentDataRawRW (Unity.Entities.Entity entity, System.Int32 typeIndex) (at Library/PackageCache/com.unity.entities@0.0.12-preview.19/Unity.Entities/EntityManager.cs:744)
Unity.Entities.Properties.EntityContainer+ReadOnlyComponentsProperty.Get (Unity.Entities.Properties.EntityContainer& container, System.Int32 index, System.Collections.Generic.HashSet`1[T] primitiveTypes) (at Library/PackageCache/com.unity.entities@0.0.12-preview.19/Unity.Entities.Properties/EntityContainer.cs:121)
Unity.Entities.Properties.EntityContainer+ReadOnlyComponentsProperty.Accept (Unity.Entities.Properties.EntityContainer& container, Unity.Properties.IPropertyVisitor visitor) (at Library/PackageCache/com.unity.entities@0.0.12-preview.19/Unity.Entities.Properties/EntityContainer.cs:46)
Unity.Properties.StructPropertyBag`1[TContainer].Visit (TContainer& container, Unity.Properties.IPropertyVisitor visitor) (at Library/PackageCache/com.unity.properties@0.2.11-preview/Unity.Properties/PropertyBag.cs:196)
Unity.Entities.Editor.EntitySelectionProxyEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.entities@0.0.12-preview.19/Unity.Entities.Editor/EntityDebugger/EntitySelectionProxyEditor.cs:37)
UnityEditor.InspectorWindow.DoOnInspectorGUI (System.Boolean rebuildOptimizedGUIBlock, UnityEditor.Editor editor, System.Boolean wasVisible, UnityEngine.Rect& contentRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1608)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Reproducible with: 2018.3.1f1, 2019.1.0a13
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment