Search Issue Tracker

Active

Under Consideration for 2020.3.X, 2021.3.X

Fixed in 2022.1.23f1, 2022.2.0b15, 2023.1.0a14

Votes

0

Found in

2020.3.36f1

Issue ID

UUM-7944

Regression

No

ApiUpdater reaches a timeout while updating assemblies

--

-

Reproduction steps:
1. Open the attached "ApiUpdater.zip" project with the Library folder removed
2. Observe the Console

Expected result: No errors are logged
Actual result: An error is logged

Reproduced with: 2020.3.36f1, 2021.3.6f1, 2022.1.8f1, 2022.2.0a19, 2023.1.0a2

Reproduced on: Windows 11, macOS Monterey 12.0.1 (Intel)

Error in 2023.1:
Timeout while updating assemblies:Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Repacked.dll (Output: C:\\Users\\chiur\\AppData\\Local\\Temp\\tmp579186d5.tmp)
UnityEditor.Scripting.APIUpdaterLogger:WriteErrorToConsole (string,object\[])
UnityEditorInternal.APIUpdating.APIUpdaterManager:LogTimeoutError (UnityEditorInternal.APIUpdating.AssemblyUpdaterUpdateTask\[])
UnityEditorInternal.APIUpdating.APIUpdaterManager:UpdateAssemblies ()
UnityEditorInternal.APIUpdating.APIUpdaterManager:ProcessImportedAssemblies (string\[])

Error in 2020.3:
Unable to update following assemblies:Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Repacked.dll (Name = JetBrains.RiderFlow.Repacked, Error = 131) (Output: /var/folders/9t/1hxkxg2d4pq7ry8_h71j9dtc0000gp/T/tmp3e2ba287.tmp)
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.StackOverflowException: The requested operation caused a stack overflow.

  1. Resolution Note (fix version 2023.1.0a14):

    We have fixed the timeout error in 2023.1.0a14. However, macOS and Linux users might still experience the following error:

    Unable to update following assemblies:Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Repacked.dll

    This exception happens due to another issue in one of the libraries (Mono.Cecil) used by AssemblyUpdater. We have verified that a newer version of that library resolves this problem.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.