#You need to make an animation clip first

1 messages · Page 1 of 1 (latest)

sweet plume
#

iive created this already

#

which im trying to drag my sprites in

#

this is inside a Player

plucky silo
#

Does the player have a sprite renderer

#

Component

sweet plume
plucky silo
# sweet plume yep yep

Make sure the player object is selected and that the sprites are set to Sprite 2D and UI

sweet plume
#

how do i make sure the sprite is set to sprite 2d and ui?

plucky silo
#

You can click on the sprite and in the inspector at the top

#

There’s options to choose what type it is

sweet plume
plucky silo
#

Still doesn’t work when the player is selected and u drag it in

sweet plume
#

yup

#

;-;

#

NullReferenceException: Object reference not set to an instance of an object
UnityEditorInternal.DopeSheetEditor.SelectTypeForCreatingNewPptrDopeline (System.Object userData, System.String[] options, System.Int32 selected) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Animation/AnimationWindow/DopeSheetEditor.cs:895)

#

maybe this is why?

plucky silo
sweet plume
#

not sure what it means..

plucky silo
#

Is make sure you’re not selecting the player prefab

#

Select the player in the hierarchy

sweet plume
#

i did that but the problem persists....

#

erggjjj

plucky silo
#

lol

#

okay

#

Click add property

sweet plume
#

done

plucky silo
#

Sprite renderer

#

Sprite

sweet plume
#

oh

plucky silo
#

correct

sweet plume
#

like this...

#

bunny

plucky silo
#

Maybe now you can drag

sweet plume
#

u are a genius

plucky silo
#

lol ur welcome

#

You can message for help if you want