mechanistry / timberborn-modding

Timberborn official modding tools and examples.
https://github.com/mechanistry/timberborn-modding
MIT License
38 stars 8 forks source link

[Bug] TimberMesh Description Script not showing #13

Closed KnatteAnka closed 1 month ago

KnatteAnka commented 2 months ago

Since last update to game and unity Timbermesh desciption do not show the text field and there are error messages in the console

Timbermesh description: image

Prefab: image

Console: image

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.UIElements.Bindings.DefaultSerializedObjectBindingImplementation.BindProperty (UnityEngine.UIElements.IBindable field, UnityEditor.SerializedProperty property) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.BindingExtensions.BindProperty (UnityEngine.UIElements.IBindable field, UnityEditor.SerializedProperty property) (at <6e4d42f29c6d4de498866a408486511d>:0)
Timberborn.BlockSystem.Editor.BlockObjectInspector.CreateBlockSpecifications () (at <4dabd0187b0d42f286c0614f8df7176c>:0)
Timberborn.BlockSystem.Editor.BlockObjectInspector.CreateInspectorGUI () (at <4dabd0187b0d42f286c0614f8df7176c>:0)
UnityEditor.UIElements.InspectorElement.CreateInspectorElementUsingUIToolkit (UnityEditor.Editor targetEditor) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement.CreateInspectorElementFromSerializedObject (UnityEditor.SerializedObject bindObject) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAtTargetAndDefaultPhase (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at <06b24f3f8f804fdfb8ea805f63cc29b0>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.SendBindingEvent[TEventType] (TEventType evt, UnityEngine.UIElements.VisualElement target) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.BindTree (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedProperty parentProperty) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.ContinueBinding (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedProperty parentProperty) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.Bind (UnityEngine.UIElements.VisualElement element) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.DefaultSerializedObjectBindingImplementation.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedObject obj) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.BindingExtensions.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedObject obj) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement..ctor (UnityEditor.SerializedObject obj, UnityEditor.Editor editor, UnityEditor.UIElements.InspectorElement+DefaultInspectorFramework defaultInspectorFramework) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement..ctor (UnityEditor.Editor editor, UnityEditor.UIElements.InspectorElement+DefaultInspectorFramework defaultInspectorFramework) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement..ctor (UnityEditor.Editor editor) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.EditorElement.BuildInspectorElement () (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.EditorElement.CreateInspectorElement () (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.EditorElementUpdater.CreateInspectorElementsForMilliseconds (System.Int64 targetMilliseconds) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.PropertyEditor.Update () (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.HostView.SendUpdate () (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <6e4d42f29c6d4de498866a408486511d>:0)

NullReferenceException: Object reference not set to an instance of an object
Timberborn.TimbermeshEditorTools.Editor.TimbermeshDescriptionInspector.CreateInspectorGUI () (at <5302fd4766494ebcb50418dd2f38c328>:0)
UnityEditor.UIElements.InspectorElement.CreateInspectorElementUsingUIToolkit (UnityEditor.Editor targetEditor) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement.CreateInspectorElementFromSerializedObject (UnityEditor.SerializedObject bindObject) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAtTargetAndDefaultPhase (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at <06b24f3f8f804fdfb8ea805f63cc29b0>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.SendBindingEvent[TEventType] (TEventType evt, UnityEngine.UIElements.VisualElement target) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.BindTree (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedProperty parentProperty) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.ContinueBinding (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedProperty parentProperty) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.Bind (UnityEngine.UIElements.VisualElement element) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.DefaultSerializedObjectBindingImplementation.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedObject obj) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.BindingExtensions.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedObject obj) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement..ctor (UnityEditor.SerializedObject obj, UnityEditor.Editor editor, UnityEditor.UIElements.InspectorElement+DefaultInspectorFramework defaultInspectorFramework) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement..ctor (UnityEditor.Editor editor, UnityEditor.UIElements.InspectorElement+DefaultInspectorFramework defaultInspectorFramework) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement..ctor (UnityEditor.Editor editor) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.EditorElement.BuildInspectorElement () (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.EditorElement.CreateInspectorElement () (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.EditorElementUpdater.CreateInspectorElementsForViewport (UnityEngine.UIElements.ScrollView viewport, UnityEngine.UIElements.VisualElement contentContainer) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.PropertyEditor.RebuildContentsContainers () (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.InspectorWindow.RedrawFromNative () (at <6e4d42f29c6d4de498866a408486511d>:0)

NullReferenceException: Object reference not set to an instance of an object
Timberborn.TimbermeshEditorTools.Editor.TimbermeshDescriptionInspector.CreateInspectorGUI () (at <5302fd4766494ebcb50418dd2f38c328>:0)
UnityEditor.UIElements.InspectorElement.CreateInspectorElementUsingUIToolkit (UnityEditor.Editor targetEditor) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement.CreateInspectorElementFromSerializedObject (UnityEditor.SerializedObject bindObject) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement.HandleEventBubbleUp (UnityEngine.UIElements.EventBase evt) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAtTargetAndDefaultPhase (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at <06b24f3f8f804fdfb8ea805f63cc29b0>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.SendBindingEvent[TEventType] (TEventType evt, UnityEngine.UIElements.VisualElement target) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.BindTree (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedProperty parentProperty) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.ContinueBinding (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedProperty parentProperty) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingContext.Bind (UnityEngine.UIElements.VisualElement element) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.Bindings.DefaultSerializedObjectBindingImplementation.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedObject obj) (at <2b34d7e247f34a4fa60f1c279a69f27a>:0)
UnityEditor.UIElements.BindingExtensions.Bind (UnityEngine.UIElements.VisualElement element, UnityEditor.SerializedObject obj) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement..ctor (UnityEditor.SerializedObject obj, UnityEditor.Editor editor, UnityEditor.UIElements.InspectorElement+DefaultInspectorFramework defaultInspectorFramework) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement..ctor (UnityEditor.Editor editor, UnityEditor.UIElements.InspectorElement+DefaultInspectorFramework defaultInspectorFramework) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.InspectorElement..ctor (UnityEditor.Editor editor) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.EditorElement.BuildInspectorElement () (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.UIElements.EditorElement.CreateInspectorElement () (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.EditorElementUpdater.CreateInspectorElementsForMilliseconds (System.Int64 targetMilliseconds) (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.PropertyEditor.Update () (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.HostView.SendUpdate () (at <6e4d42f29c6d4de498866a408486511d>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <6e4d42f29c6d4de498866a408486511d>:0)
KnatteAnka commented 2 months ago

First error message is becasue Block object also is broken

KnatteAnka commented 2 months ago

the reason for the error is that it was not successful in removing old dlls before importing new ones

meaning current hotfix is:

  1. Remove the plugins/timberborn folder
  2. Import dll files
KnatteAnka commented 1 month ago

Ok found some more things Asset ripped assets include Editor parts that colide with this dev package and need to be removed

KnatteAnka commented 1 month ago

This is fixed in the last version of the game 👍