Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
7.0.11
9.0.3
10.0.2
Issue ID
DANB-512
Regression
No
The "Category" parameter of the "Sprite Resolver" Component keeps changing to "No Category" when moving the cursor around in Play Mode
Reproduction steps:
1. Open the attached "repro_IN-52125.zip" project
2. Open the "SampleScene" Scene
3. Press on one of the "CarLibrary<[Color]>Variant" GameObjects
4. Enter the Play Mode
5. Move your mouse cursor around the Game view
Expected result: The "Category" parameter value stays at "Team"
Actual result: The "Category" parameter value keeps changing to the "No Category" value
Reproduced with: 7.0.11 (2021.3.30f1), 9.0.3 (2022.3.9f1), 10.0.2 (2023.1.12f1, 2023.2.0b8, 2023.3.0a3)
Reproduced on: Windows 10 (22H2)
Not reproduced on: No other environments tested
Notes:
- Each time the "Category" parameter value changes to the "No Category" value, some of the car sprites change to a 0-degree angle sprite
- Reproducible in the Player
- Car sprite “flicking“ does not appear in 2021.3.30f1
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
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note:
The animations in the project are usign the old SpriteKey, Category and Label hash, as well as the new SpriteHash property to animate the SpriteResolver.
To mitigate this issue - please remove the old m_SpriteKey, m_CategoryHash and m_labelHash from animations.
This can be done automatically using the Animation Asset Ipgrader https://docs.unity3d.com/Packages/com.unity.2d.animation@9.0/manual/AssetUpgrader.html