Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X, 2023.3.X
Votes
0
Found in
2021.3.26f1
2022.2.21f1
2023.1.0b18
2023.2.0a16
2023.3.0a3
Issue ID
UUM-37215
Regression
No
GameObject doesn't execute animation the way it's supposed to until any GameObject in the Hierarchy is selected when in the Play Mode
Reproduction steps:
1. Open the attached “Repro” project
2. Open the “Assets/Scenes/Playground.unity” Scene
3. Enter the Play Mode
4. Use the mouse's scroll wheel to equip the Sidearm (Pistol in the game)
5. Hold right-click on the mouse
6. Observe the Sidearm
Expected result: The Sidearm points towards the crosshair
Actual result: The Sidearm points downwards to the ground
Reproducible with: 2021.3.26f1. 2022.2.21f1, 2023.1.0b18, 2023.2.0a16
Couldn't test with: 2020.3.48f1 (Compatibility issues due to downgrading)
Reproducible on: Windows 10 Pro (22H2)
Notes:
* Selecting any GameObject in the Hierarchy window after entering the Play Mode fixes the issue for the rest of the game time.
* The issue seems to only happen when the Sidearm is ordered after the Knife in the “Player” GameObject’s “Item Handler” Script Component's “Player Items” List
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
- Sprite Atlas remains loaded in memory after scene change or unloading assets
- Decompressing a DeflateStream under IL2CPP misses a few bytes
- Referred style sheet stays dirty after saving when using the UIBuilder
- The Height map Amplitude is not working when using HDRP/LayeredLit
- Infinite inertial tensor rotation values are not discarded (both AB and RB)
aidanboch
May 31, 2023 00:07
*I'm the one who experienced this bug*
The bug isn't affected by the Item list order, but by item activation. If you start with Sidearm as your default item, switch to another item, and then switch back, you will experience the bug. It's something to do with how the item is deactivated and then activated again.