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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
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.