Skip to content

Entities 0.5.1 billboard issue #9

Description

@SomePlayer

Using Unity 2019.3.0f6 and Entities 0.5.1

Editor will spam this error upon exiting playmode, if BillboardcameraProxy is used.
a work around is to disable all (of the scripts added by BillcamProxy) but GameObjectEntity after adding BillboardcameraProxy to the main camera.

NullReferenceException: Object reference not set to an instance of an object Unity.Entities.EntityQuery.CreateArchetypeChunkArray (Unity.Collections.Allocator allocator) (at Library/PackageCache/com.unity.entities@0.5.1-preview.11/Unity.Entities/Iterators/EntityQuery.cs:574) Unity.Entities.Editor.EntityListView.BuildRows (UnityEditor.IMGUI.Controls.TreeViewItem root) (at Library/PackageCache/com.unity.entities@0.5.1-preview.11/Unity.Entities.Editor/EntityDebugger/EntityListView.cs:142) UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.FetchData () (at <6f28216fea9f453abf2e05b770ed3ee4>:0) UnityEditor.IMGUI.Controls.TreeViewDataSource.ReloadData () (at <6f28216fea9f453abf2e05b770ed3ee4>:0) UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.ReloadData () (at <6f28216fea9f453abf2e05b770ed3ee4>:0) UnityEditor.IMGUI.Controls.TreeViewController.ReloadData () (at <6f28216fea9f453abf2e05b770ed3ee4>:0) UnityEditor.IMGUI.Controls.TreeView.Reload () (at <6f28216fea9f453abf2e05b770ed3ee4>:0) Unity.Entities.Editor.EntityListView.ReloadIfNecessary () (at Library/PackageCache/com.unity.entities@0.5.1-preview.11/Unity.Entities.Editor/EntityDebugger/EntityListView.cs:105) Unity.Entities.Editor.EntityDebugger.OnGUI () (at Library/PackageCache/com.unity.entities@0.5.1-preview.11/Unity.Entities.Editor/EntityDebugger/EntityDebugger.cs:523) System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <6f28216fea9f453abf2e05b770ed3ee4>:0) UnityEditor.HostView.Invoke (System.String methodName) (at <6f28216fea9f453abf2e05b770ed3ee4>:0) UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <6f28216fea9f453abf2e05b770ed3ee4>:0) UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <6f28216fea9f453abf2e05b770ed3ee4>:0) UnityEditor.DockArea.OldOnGUI () (at <6f28216fea9f453abf2e05b770ed3ee4>:0) UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean canAffectFocus) (at <a6a3aac9b47844afbb8dcc407683ae01>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions