Search Issue Tracker
Fixed
Votes
0
Found in [Package]
1.1.1
Issue ID
1369369
Regression
No
Recursion detected error is thrown after APIs update fails” (com.unity.animations.rigging)
How to reproduce:
1. Open the attached project "RecursionReproCase.zip"
2. Open the Console window
3. Notice the errors in the Console window
Expected result: updating APIs doesn't fail
Actual result: APIs fails to update and throws "Recursion detected while updating scripts (assembly name: Unity.Animation.Rigging.dll)" error
Reproducible with: 0.2.7-preview (2019.4.31f1), 1.1.1 (2020.3.20f1, 2021.1.25f1, 2021.2.0b15, 2022.1.0a12)
To fix the errors:
1. Go to Help > Reset Packages to defaults
2. Open the project's folder / Packages / manifest.json
3. Add "jp.keijiro.klak.testtools": "1.0.3" to dependencies 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
- Constant buffer is not properly updated for the depth pass when rendering a custom mesh on DirectX12
- AfterRendering Event of the URP RendererFeatures renders with inverted Y axis
- CancellationTokenSource return a wrong value when the Token is created in a WebGL build
- Light Explorer window can't be scrolled horizontally by using a trackpad gesture when there is no vertical scrollbar
- "Shader warning in 'Hidden/HDRP/DownsampleDepth'" warnings are thrown after building a project
Resolution Note:
The root cause of the issue is a missing module (com.unity.modules.animation) in the project manifest (Packages/manifest.json). On Unity 2021.x (and newer) you will not get the *recursion error*; instead you get a compilation error which is the error you get for any missing reference. On Unity 2020.x and older the error message is misleading; unfortunately detecting this scenario and not emitting the misleading message is not a trivial task so we decided to not pursue improving this for now. If we ever get similar reports we may reconsider.