- Home /
Unity keeps saying that the "Sequence contains no elements"
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've looked around, and I can't find this topic any where.
When ever I drag a sprite into the scene window, I get an error message saying "InvalidOperationException: Sequence contains no elements"
I'm making a 2d game, version 2021.3.0f1 personal
Answer by lsorichetti_game · May 03 at 01:22 PM
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 doesnt exist, create your first animator.
That solved this problem for me.
Answer by Glaas · May 02 at 12:41 PM
I kept having the same error, specifically using the Tile Palette.
Never caused any actual issues for me though ¯_(ツ)_/¯ So I just ignore it.