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).
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
- Matching Selectors list not updating correctly with element's pseudo-state updates
- [Android] Crash on vendor/lib64/egl/libGLES_mali.so when Graphics Jobs(Experimental) is disabled and the Player is running on the Google Pixel 6 with the March security patch installed
- Profiler does not profile after building the Project with Autoconnect Profiler Option enabled
- Editor slows down when selecting a script with the [HideInInspector] attribute on arrays with dynamic values
- [XR] Custom Pass not working as intended with Single Pass Instanced when XR is initialized after runtime start
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.