Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
3.0.2
Issue ID
1170172
Regression
No
[2D] [Animation] Sprite not found in SpriteRenderer when moving between 2 keys with different Labels in Sprite Resolver
[2D] [Animation] Sprite not found in SpriteRenderer when moving between 2 keys with different Labels in Sprite Resolver
Steps to Repro:
1. import two character PSDs and prep them for sprite swapping (rig one, paste rig data to other, define Categories)
2. create a SpriteLibrary asset that uses the same Categories as the character PSDs
3. set each Category List to 2 and add the sprites from both character PSDs into the proper Category
4. add a character to the scene, attach an Animation component, and choose the combined SpriteLibrary Asset
5. add Bone and Sprite properties in Animation and create 2 keys
6. set 1 key to use one Category Label and set the second to use the other Category Label
7. move the timeline between the 2 keys
The Sprite disappears and warning appears in the Sprite Skin inspector (Sprite not found in SpriteRenderer).
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
W1zzel
Nov 29, 2019 21:47
I've had the same problem but they disappeared after updating my packages. Make sure that yours are up to date aswell. Also check if you set "both tangents" on your keyframes for the sprite resolver to "constant". Otherwise unity will try to blend between those two sprites which obviously wouldn't work.