TypeLoadException: Could not load type of field Google.PackageMigrator,TypeLoadException: Could not load type of field 'Google.PackageMigrator:migrationJobQueue'
I have no idea what might be causing this error. I added to my AndroidManifest.xml permissions:
And I began to receive such errors at the launch of the project. Nothing else seems to have changed in the project...
TypeLoadException: Could not load type of field 'Google.PackageMigrator:migrationJobQueue' (1) due to: Could not resolve type with token 01000004 (from typeref, class/assembly JobQueue, ) assembly: type:JobQueue member:(null) signature: System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) (at :0) UnityEditor.EditorAssemblies.ProcessInitializeOnLoadAttributes (System.Type[] types) (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorAssemblies.cs:114)
These errors appear after importing a new package or assets. At the same time, the package manager window also becomes empty and when you try to open it, a bunch of errors appear.
Answer by HasithaCJ · May 12, 2021 at 08:49 AM
Any solution ?
Were you ever able to resolve this @HasithaCJ ? I believe I am having the issue due to Unity App Measurement packages. This is the only post I've been able to find specific to these errors.
Answer by polyphonic13 · May 19, 2021 at 01:35 PM
@unity_09LQ1eTiThrB8w were you ever able to resolve this? I am encountering the same errors and have not been able to figure out how to fix them.