Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Wait ~5-20 seconds (objects are continuously spawned/despawned via pooling)
Expected result: No Errors exist
Actual result: Error “ArgumentException: Key: -61254 is not present.“ is present
Reproducible with: 13.0.2 (6000.3.3f1), 14.0.2 (6000.4.0b3, 6000.5.0a4)
Could not test with: 6000.0.65f1 (Objects are not spawned)
Reproducible on:
Play Mode
Not reproducible on:
Windows Standalone Player
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- The issue started appearing after upgrading to 6000.3
- Callstack points to UnityEngine.U2D.Animation.TransformAccessJob.UpdateTransformIndex / DeformationManager.Update
- Reproducible in a clean/minimal project
- Prefab contains SpriteRenderer and SpriteSkin (SpriteSkin has no bones assigned)
- This looks like internal DeformationManager NativeHashMap key becomes invalid after despawn/disable