I’m trying to drag a sprite into the scene window, but when ever I do that Unity throws an error saying
“InvalidOperationException: Sequence contains no elements”
I am making a 2D game, using Unity version 2021.3.0f1 Personal.
I’m trying to drag a sprite into the scene window, but when ever I do that Unity throws an error saying
“InvalidOperationException: Sequence contains no elements”
I am making a 2D game, using Unity version 2021.3.0f1 Personal.
Do you have the Animator
tab open when you drag the sprite into the scene?
Check in the Animator
→ Layer
tab for the "Base Layer"
.
If doesn’t exist, create your first animator.
That solved this problem for me.
I kept having the same error, specifically using the Tile Palette.
Never caused any actual issues for me though ¯_(ツ)_/¯ So I just ignore it.