Hi,
I’m trying to use the provided ObjectEditor for monitoring some animated values, and I get errors when changing the type.
Maybe am I using it wrong?
If this is the case, it would be very handy to have a mechanism to visualize animated values of registered types inside Imgui.
2026/09/11 11:37:25.030 [CRT] (App) 0 callmenames-2026-09-11 Unexpected exception during Update: Object reference not set to an instance of an object.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at VL.AppServices.Hotswap.HotswapSpecificNodes.HardCast[T](Object input)
at VL.Lib.Reactive.C`1.SetObjectAndAuthor(Object object, String author)
at VL.Lib.Reactive.ChannelHelpers.EnsureValue[T](IChannel`1 input, T value, Boolean force, String author)
at VL.Lib.Reactive.ChannelHelpers.<>c__DisplayClass8_0`2.<Merge>b__0(A v)
at System.Reactive.Subjects.Subject`1.OnNext(T value)
at VL.Lib.Reactive.C`1.SetValueAndAuthor(T value, String author)
at _VL_Reactive_.Reactive.Channel_P`1.SetValue(T Value_In, String Author_In)
at _ObjectEditorBug_.Main.ObjectEditorBugApplication_PProgram_.Update__TRACE__(ObjectEditorBugApplication_P __self, PatchTracer __tracer) in C:\Users\arist\OneDrive\Escritorio\ObjectEditorBug.vl.1.124.cs:line 471
at _ObjectEditorBug_.Main.ObjectEditorBugApplication_PProgram_.Update(ObjectEditorBugApplication_P __self) in C:\Users\arist\OneDrive\Escritorio\ObjectEditorBug.vl.1.124.cs:line 61
at _ObjectEditorBug_.Main.ObjectEditorBugApplication_P.Update() in C:\Users\arist\OneDrive\Escritorio\ObjectEditorBug.vl.1.67.cs:line 100
at InvokeStub_ObjectEditorBugApplication_P.Update(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at VL.Lang.Platforms.RuntimeInstance.Step(ITargetCompilation compilation)
at VL.Lang.Platforms.RuntimeHost.StepInstances(ITargetCompilation compilation, Boolean& hadToKill)
ObjectEditorBug.vl (22.0 KB)