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
- Profiler crash on DynamicHeapAllocator::GetBlockPointer
- Indic languages are displayed incorrectly when using TextMeshPro or Legacy Text
- Importing HDRP Material and Transparent Samples causes Shader Graph warning in the Console
- Object Field Picker window shows incorrect number of hidden GameObjects and has same number for all fields
- GameObject shows visual corruption due to incorrect previous transform matrix while using Active SpaceWarp
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