Accessed None 'CallFunc_GetPlayerCharacter_ReturnValue'

Hey, so I’ve done a lot of digging around to find the answer to my problem but I haven’t been able to find an answer that quite suites my needs. I am having problems with the animation transition between Standing Idle to Walk. There is an error when I launch in the player stating “Accessed None ‘CallFunc_GetPlayerCharacter_ReturnValue’ from node Result in graph ‘Transition’ in BP JeremyRyan” I understand that it can’t find the GetPlayerCharacter but I don’t understand why.

Anyone figured this out? same issue and i just completed the WIKI tutorial for setting up your character… SIgh was sooo happy to get it all in and then to see error 1 above and also a few when crouched and try to jog it stop animations and skates… also if your holding jog (shift) to begin with similar skating results…

Use the BP Node “Try Get Pawn Owner” and cast it to Character.

Having said this, let’s continue with a general rant:

GetPlayerCharacter(0) is used way too often and sometimes totally inappropriate. It is true that unless you have a splitscreen game, Index Position Zero gives you the local player’s character. If you use this in an animation sequence, this always gives you the player’s character, even when the current actor is not the player itself. Consider what happens when you place a KI Character with the same animation sequence? Or in a multiplayergame, when the other character initates a Jump (yes, then the data from your local player is accessed, which of course is wrong).

It’s bad design and prone to errors, when you just go for GetPlayerCharacter(0) for stuff that is clearly owned by something (which does not necessarily need to be the player!). Features like HUD and Animations give you methods to identify the owner of such object, so please use them!

PS: Look at how it is done in the Animation Graph “FirstPerson_AnimBP” in the FPS Example.

Thanks worked for me =)

you could accept it as answer, that would keep me from needlessly checking the question again every day :stuck_out_tongue: