Search Issue Tracker

Fixed

Fixed in 1.2.X

Votes

0

Found in [Package]

1.2.0-pre.4 - Entities

Issue ID

ECSB-799

Regression

Yes

Achetypes window shows nothing when opened

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open the attached "EntitiesRepro.zip" project from Google Drive link
2. Go to Windows > Entities > Archetypes
3. Observe the Archetypes window and the Console window

Expected result: Archetypes window should contain list of information
Actual result: Archetypes window shows nothing, sometimes errors are thrown in the Console window

Reproducible with: 1.2.0-pre.4 (2023.3.0a17)
Not reproducible with: 1.1.0-pre.3 (2023.3.0a17)

Reproduced on: Sonoma 14.1.1 (MacBook Pro, Apple M1 Max)

Errors:
{code:java}
Element 'Unity.Editor.Bridge.TreeView' is missing a UxmlElementAttribute and has no registered factory method. Please ensure that you have the correct namespace imported.
UnityEngine.UIElements.VisualTreeAsset:CloneTree (UnityEngine.UIElements.VisualElement)
Unity.Entities.Editor.VisualElementTemplate:CloneTemplate (UnityEngine.UIElements.VisualElement) (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/VisualElementTemplate.cs:70)
Unity.Entities.Editor.VisualElementTemplate:Clone (UnityEngine.UIElements.VisualElement) (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/VisualElementTemplate.cs:42)
Unity.Entities.Editor.MemoryProfilerModule/MemoryProfilerModuleView:CreateViewLeftPane (UnityEngine.UIElements.VisualElement) (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/ProfilerModules/MemoryProfilerModule+View.cs:100)
Unity.Entities.Editor.MemoryProfilerModule/MemoryProfilerModuleView:Create () (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/ProfilerModules/MemoryProfilerModule+View.cs:93)
Unity.Entities.Editor.ArchetypesWindow:OnCreate () (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/Archetypes/ArchetypesWindow.cs:49)
Unity.Entities.Editor.DOTSEditorWindow:CreateGUI () (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/Common/DOTSEditorWindow.cs:191)
UnityEditor.EditorWindow:GetWindow<Unity.Entities.Editor.ArchetypesWindow> ()
Unity.Entities.Editor.ArchetypesWindow:OpenWindow () (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/Archetypes/ArchetypesWindow.cs:20)
{code}
{code:java}
NullReferenceException: Object reference not set to an instance of an object
Unity.Entities.Editor.MemoryProfilerModule+MemoryProfilerModuleView.CreateViewLeftPane (UnityEngine.UIElements.VisualElement root) (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/ProfilerModules/MemoryProfilerModule+View.cs:171)
Unity.Entities.Editor.MemoryProfilerModule+MemoryProfilerModuleView.Create () (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/ProfilerModules/MemoryProfilerModule+View.cs:93)
Unity.Entities.Editor.ArchetypesWindow.OnCreate () (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/Archetypes/ArchetypesWindow.cs:49)
Unity.Entities.Editor.DOTSEditorWindow.CreateGUI () (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/Common/DOTSEditorWindow.cs:191)
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac0d06bcb5694645bfaf82deaf2a8717>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac0d06bcb5694645bfaf82deaf2a8717>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <ac0d06bcb5694645bfaf82deaf2a8717>:0)
UnityEditor.UIElements.DefaultEditorWindowBackend.Invoke (System.String methodName) (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/WindowBackends/DefaultEditorWindowBackend.cs:380)
UnityEditor.EditorWindow:GetWindow()
Unity.Entities.Editor.ArchetypesWindow:OpenWindow() (at ./Library/PackageCache/com.unity.entities/Unity.Entities.Editor/Archetypes/ArchetypesWindow.cs:20)
{code}

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.