Skip to content

NRE on Doo Invoke Block #10408

@yuberee

Description

@yuberee

Version / Commit

Latest

Describe the bug

Exception has been thrown by the target of an invocation.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Editor.DooEditor.InvokeBlock.BuildUI() in C:\program files (x86)\steam\steamapps\common\sbox\editor\dooeditor\code\DooEditor\BlockEditors\InvokeBlock.cs:line 42
   at Editor.DooEditor.InvokeBlock..ctor(SerializedObject obj) in C:\program files (x86)\steam\steamapps\common\sbox\editor\dooeditor\code\DooEditor\BlockEditors\InvokeBlock.cs:line 33
   at InvokeStub_InvokeBlock..ctor(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Clicking on the invoke block of a doo will return this error and not do anything

To Reproduce

  1. Create new Doo
  2. Create Invoke Block
  3. Click on Invoke Block

Expected behavior

n.a

Media/Files

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions