# Accessed None trying to read property Cast as Animation Blueprint

**URL:** <https://forums.unrealengine.com/t/accessed-none-trying-to-read-property-cast-as-animation-blueprint/450998>\
**Category:** Character & Animation\
**Tags:** casting, cast-failed, accessed-none, unreal-engine, Blueprint, question\
**Created:** [June 20, 2019, 1:55pm UTC](https://forums.unrealengine.com/t/accessed-none-trying-to-read-property-cast-as-animation-blueprint/450998 "2019-06-20T13:55:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pantaro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pantaro](https://forums.unrealengine.com/u/Pantaro)\
**Post date:** [June 20, 2019, 1:55pm UTC](https://forums.unrealengine.com/t/accessed-none-trying-to-read-property-cast-as-animation-blueprint/450998/1 "2019-06-20T13:55:03Z")

</div>

I finally had the basics of UE4 animation worked out, I even had some animation code working properly. Then my computer bluescreened, and when I got things working again, the code that was working fine is giving me this infernal Accessed None error.

Am I going to have to reconstruct ThirdPersonCharacter from my last backup? Or is there soem way to get this madness dealt with? And what’s with the “\_C” at the end of the AnimClass?

 ![280314-accessed-none-animation-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/5/aa596f6a8fde11ca86a061e7c691def0549c2033.png)

 ![280315-accessed-none-animation-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/7/0/d702c2adb57dabf208fd2ff93716a4f0bd959fc0.jpeg)

---

<div class="post-metadata">

**Author:** ![DonBusso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonBusso](https://forums.unrealengine.com/u/DonBusso)\
**Post date:** [June 20, 2019, 2:00pm UTC](https://forums.unrealengine.com/t/accessed-none-trying-to-read-property-cast-as-animation-blueprint/450998/2 "2019-06-20T14:00:47Z")

</div>

Hello Pantaro,

Your screenshots are not working, try re-uploading them again. My advice is to go where the error is and delete the nodes/variables and re-creating them. I had the same issues when the engine/pc gave up, it all compiled nice but it wouldn’t work. I do not know the cause for this but I just recreated the variables and nodes (delete and get new one).

---

<div class="post-metadata">

**Author:** ![Pantaro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pantaro](https://forums.unrealengine.com/u/Pantaro)\
**Post date:** [June 20, 2019, 2:03pm UTC](https://forums.unrealengine.com/t/accessed-none-trying-to-read-property-cast-as-animation-blueprint/450998/3 "2019-06-20T14:03:48Z")

</div>

I reuploaded the screenshots. And I already have deleted the nodes and variables and recreating them. In fact, I recreated the whole Animation Blueprint being referenced.

---

<div class="post-metadata">

**Author:** ![DonBusso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonBusso](https://forums.unrealengine.com/u/DonBusso)\
**Post date:** [June 20, 2019, 2:08pm UTC](https://forums.unrealengine.com/t/accessed-none-trying-to-read-property-cast-as-animation-blueprint/450998/4 "2019-06-20T14:08:18Z")

</div>

Thank you for re-uploading the images. What does the error log say, normally you can just click on it and will take you to the place where things go wrong. Somewhere along the way the reference is not being set or you trying to access it before it was set. If you have a backup that you could use, that of course would be the easiest way to fix it.

---

<div class="post-metadata">

**Author:** ![Pantaro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pantaro](https://forums.unrealengine.com/u/Pantaro)\
**Post date:** [June 20, 2019, 2:14pm UTC](https://forums.unrealengine.com/t/accessed-none-trying-to-read-property-cast-as-animation-blueprint/450998/5 "2019-06-20T14:14:28Z")

</div>

Blueprint Runtime Error: “Accessed None trying to read property K2\_Node\_DynamicCast\_As\_Cutron\_Anime\_Blue\_Redux”. Blueprint: ThirdPersonCharacter Function: Execute Ubergraph ThirdPersonCharacter Graph: EventGraph Node: Set KnifeShotReady?

And it’s probably the former, the reference not being set. I have the CastTo linked to an Event BeginPlay.

---

<div class="post-metadata">

**Author:** ![DonBusso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DonBusso](https://forums.unrealengine.com/u/DonBusso)\
**Post date:** [June 20, 2019, 2:21pm UTC](https://forums.unrealengine.com/t/accessed-none-trying-to-read-property-cast-as-animation-blueprint/450998/6 "2019-06-20T14:21:37Z")

</div>

Try connecting the cast success to the Knife Shot Ready.

 ![280321-278273-try-this.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/d/64d8f558056ba1aac0622de7ea53e3d7f7486f0a.png)

---

<div class="post-metadata">

**Author:** ![Pantaro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pantaro](https://forums.unrealengine.com/u/Pantaro)\
**Post date:** [June 20, 2019, 2:23pm UTC](https://forums.unrealengine.com/t/accessed-none-trying-to-read-property-cast-as-animation-blueprint/450998/7 "2019-06-20T14:23:44Z")

</div>

Nothing happened.

---

<div class="post-metadata">

**Author:** ![Pantaro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pantaro](https://forums.unrealengine.com/u/Pantaro)\
**Post date:** [June 21, 2019, 9:32am UTC](https://forums.unrealengine.com/t/accessed-none-trying-to-read-property-cast-as-animation-blueprint/450998/8 "2019-06-21T09:32:03Z")

</div>

Okay, I got everything fixed up. I forgot to set the AnimClass on ThirdPersonCharacter in the level itself. Now hopefully I won’t have to do this again if Driver IRQL feels like giving me his sassafras.
