# How to fix up object stuck at NULL in blueprint?

**URL:** <https://forums.unrealengine.com/t/how-to-fix-up-object-stuck-at-null-in-blueprint/484221>\
**Category:** Blueprint\
**Tags:** uobject, property-customizati, serialization, unreal-engine, null, Scripting, question\
**Created:** [June 1, 2021, 2:40am UTC](https://forums.unrealengine.com/t/how-to-fix-up-object-stuck-at-null-in-blueprint/484221 "2021-06-01T02:40:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [June 1, 2021, 2:40am UTC](https://forums.unrealengine.com/t/how-to-fix-up-object-stuck-at-null-in-blueprint/484221/1 "2021-06-01T02:40:06Z")

</div>

I have a character subclass. It creates an AbilitySystemComponent, and a custom AttributeSet.  
The AttributeSet is assigned to a member variable named `Attributes` which used to just be a UPROPERTY() but is now EditAnywhere, BlueprintReadOnly.

Anyway, somewhere along the way, this object has gotten stuck at None/NULL in some key blueprint subclasses – but not others.  
I can fix this up in the object after creation/deserialization, but everytime I try to reload a recompiled DLL, it crashes trying to read serialization flags on this NULL object (inside engine/UObject code, not inside my code.)

I’d rather not have to re-create these blueprints, as they have a fair amount of customization in them (very detailed character instances with dozens of skinned mesh components etc.)

How can I get these blueprints to no longer have “NULL” as the property value?  
Is there an appropriate hook in the demarshaling code that lets me override this, or is there some other trick I can use to update whatever is stored in these blueprints, at edit time?

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [June 1, 2021, 2:47am UTC](https://forums.unrealengine.com/t/how-to-fix-up-object-stuck-at-null-in-blueprint/484221/2 "2021-06-01T02:47:41Z")

</div>

Answering myself here. Nothing like posting a question to get clarity on a problem!

The solution is facepalm simple.

Make the attribute editable. Clicking the yellow “revert to defaults” arrow next to the property in the editor will remove the null-ness and set it to a default object instance!

---

<div class="post-metadata">

**Author:** ![Fulezi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fulezi/32/813318_2.png) [@Fulezi](https://forums.unrealengine.com/u/Fulezi)\
**Post date:** [September 18, 2022, 8:29pm UTC](https://forums.unrealengine.com/t/how-to-fix-up-object-stuck-at-null-in-blueprint/484221/3 "2022-09-18T20:29:38Z")

</div>

This was the solution for me too.

Please take this box full of my e-gratitude!
