How to reproduce:
- Create a new empty URP Project
- Add the latest Cinemachine package
- Open the CinemachineConfiner.cs file
- Observe the issue with line 173
Actual result: The method body calls itself, creating unconditional infinite recursion, which causes a break in IL2CPP compilation:
”[Obsolete("Please use InvalidateCache() instead")]
public void InvalidatePathCache() => InvalidatePathCache();”
Expected result: The method should call InvalidateCache() instead of itself, as the reporter suggested:
”public void InvalidatePathCache() => InvalidateCache();”
Reproducible with: 3.0.0-pre.3 (6000.0.0b11), 3.1.7 (6000.6.0a5), 6.6.0 (6000.7.0a2)
Notes:
- CQA was not able to reproduce this issue
- This is specifically from a depreciated script