I get error “Accessed none trying to read property character” in animation blueprint because the character is set after the animation blueprint is spawned. I am trying to set a shirt as cloth. How can I avoid this? Thankyou!
You could put a isValid check before accessing the property character.
Try to set the reference before the function is called, for example from within the character blueprint, cast to your animinstance implementation and set the character property.