2D-Character-Controller icon indicating copy to clipboard operation
2D-Character-Controller copied to clipboard

I get this error

Open PufferFishDev opened this issue 2 years ago • 1 comments

UnassignedReferenceException: The variable m_GroundCheck of CharacterController2D has not been assigned. You probably need to assign the m_GroundCheck variable of the CharacterController2D script in the inspector. UnityEngine.Transform.get_position () (at <53407686a67f4d21a4ef710a7828900a>:0) CharacterController2D.FixedUpdate () (at Assets/Scripts/CharacterController2D.cs:51)

PufferFishDev avatar Aug 09 '21 11:08 PufferFishDev

In the inspector tab of charactercontroller2d script in unity you need to assign the m_GroundCheck

PandaDevX avatar Aug 19 '21 20:08 PandaDevX