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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
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.