Error:Accessed None Trying To Read Property...but object exist.

When I execute a function to access the Widget Switcher built into the user widget, a familiar error occurred.
I don’t know why. Since this Widget Switcher exists on the User Widget from the beginning, it should never access None.
Why does this happen? Is it a bug?



Screenshot (10)

From what we can see here, it seems the editor is drunk, indeed. Remove the switcher and add a new one?


  • may not be bug - there may be something that invalidates the switcher dynamically.
  • Default is a Named Slot - what is the chance something wacky ends up in there? Something that interferes with the UW_LockIcon?

It does not disable the switcher.
This is a freshly made User Widget that doesn’t do anything other than toggle the icon.
Named Slots are optional additions to the default appearance. Normally it is empty.

I also deleted the Switcher and added a new one but the same error occurs.

This is a freshly made User Widget

Then it’s a bug and you’ll need a new widget. It’s a bug-bug if you can replicate it in a clean project.


It’d be interesting to see what the Widget Reflector thinks about this switcher.

1 Like

When I placed the same functionality as this User Widget directly in the place where User Widget was being used, it worked.
The Widget Reflector showed nothing. It has completely disappered.
You’re right, this is probably a bug.
It doesn’t seem like a big problem, but it means I have more work to do for no reason…
Anyway, thanks for helping me investigate this problem.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.