Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] GradleResolver fails when package added as folder #643

Open
rzer opened this issue Sep 26, 2023 · 3 comments
Open

[Bug] GradleResolver fails when package added as folder #643

rzer opened this issue Sep 26, 2023 · 3 comments

Comments

@rzer
Copy link

rzer commented Sep 26, 2023

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2021.3.22f1
  • External Dependency Manager version: 1.2.177
  • Source you installed EDM4U: Unity Package Manager
  • Features in External Dependency Manager in use: Android Resolver
  • Plugins SDK in use: Firebase
  • Platform you are using the Unity editor on: Windows

[REQUIRED] Please describe the issue here:

if package was added from disk then Android resolver stuck on Force Resolve. But if package wad aded as tarball everything was great. Trying on com.google.firebase.app-11.0.0.tgz - just unpack it to folder and add package.json in package manager.

Please answer the following, if applicable:

repro rate 100%

What happened? How can we make the problem occur?

Found a error in console after exit from PlayMode. You can see a strange path containing base folder. The real package path: D:\Evrika\UnityLibs\UnityFirebase\com.google.firebase.app-11.0.0

Stopped polling job due to exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Evrika\Blocks\BlocksUnity\base\com.google.firebase.app-11.0.0'.
  at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x0004d] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00050] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x00045] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00008] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at Google.FileUtils.FindPathUnderDirectory (System.String directory, System.String pathToFind) [0x0003d] in Z:\tmp\tmp.K9OFax9s5i\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\FileUtils.cs:247 
  at GooglePlayServices.GradleResolver.RepoPathToUri (System.String repoPath, System.String sourceLocation) [0x00133] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\GradleResolver.cs:196 
  at GooglePlayServices.GradleResolver.DependenciesToRepoUris (System.Collections.Generic.IEnumerable`1[T] dependencies) [0x00107] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\GradleResolver.cs:279 
  at GooglePlayServices.PlayServicesResolver.GetRepos (System.Collections.Generic.IEnumerable`1[T] dependencies) [0x00000] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2142 
  at GooglePlayServices.LocalMavenRepository.FindLocalRepos (System.Collections.Generic.ICollection`1[T] dependencies) [0x00017] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\LocalMavenRepository.cs:41 
  at GooglePlayServices.LocalMavenRepository.FindAarsInLocalRepos (System.Collections.Generic.ICollection`1[T] dependencies) [0x00006] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\LocalMavenRepository.cs:76 
  at GooglePlayServices.LocalMavenRepository.PatchPomFilesInLocalRepos (System.Collections.Generic.ICollection`1[T] dependencies) [0x00006] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\LocalMavenRepository.cs:191 
  at GooglePlayServices.PlayServicesResolver.DeleteResolvedLibrariesFromGradleTemplate (System.Boolean updateMainTemplate, System.Boolean updateSettingsTemplate) [0x00000] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1679 
  at GooglePlayServices.PlayServicesResolver.ResolveUnsafe (System.Action`1[T] resolutionComplete, System.Boolean forceResolution, System.Boolean closeWindowOnCompletion) [0x00118] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1956 
  at GooglePlayServices.PlayServicesResolver.ResolveUnsafeAfterPromptCheck (System.Action`1[T] resolutionComplete, System.Boolean forceResolution, System.Boolean isAutoResolveJob, System.Boolean closeWindowOnCompletion) [0x000fa] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1877 
  at GooglePlayServices.PlayServicesResolver+<ResolveUnsafeAfterJetifierCheck>c__AnonStorey7.<>m__0 (System.Boolean jetifierEnabled) [0x00000] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1786 
  at GooglePlayServices.PlayServicesResolver+<CanEnableJetifierOrPromptUser>c__AnonStoreyF.<>m__1 (GooglePlayServices.PlayServicesResolver+ApiLevelJetifierResult result) [0x00049] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2758 
  at GooglePlayServices.PlayServicesResolver.CheckApiLevelForJetifier (System.Boolean useJetifier, System.String titlePrefix, System.Action`1[T] complete) [0x00096] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2722 
  at GooglePlayServices.PlayServicesResolver+<CanEnableJetifierOrPromptUser>c__AnonStoreyF.<>m__0 (System.Boolean gradleVersionOkForJetifier) [0x00000] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2743 
  at GooglePlayServices.PlayServicesResolver.CheckGradleVersionForJetifier (System.Boolean useJetifier, System.String titlePrefix, System.Action`1[T] complete) [0x0009e] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2650 
  at GooglePlayServices.PlayServicesResolver.CanEnableJetifierOrPromptUser (System.String titlePrefix, System.Action`1[T] complete) [0x00046] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2741 
  at GooglePlayServices.PlayServicesResolver.ResolveUnsafeAfterJetifierCheck (System.Action`1[T] resolutionComplete, System.Boolean forceResolution, System.Boolean isAutoResolveJob, System.Boolean closeWindowOnCompletion) [0x00027] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1783 
  at GooglePlayServices.PlayServicesResolver+<ScheduleResolve>c__AnonStorey5.<>m__0 () [0x00000] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1750 
  at GooglePlayServices.PlayServicesResolver.ExecuteNextResolveJob () [0x00069] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1597 
  at GooglePlayServices.PlayServicesResolver.ScheduleResolve (System.Boolean forceResolution, System.Boolean closeWindowOnCompletion, System.Action`1[T] resolutionCompleteWithResult, System.Boolean isAutoResolveJob) [0x000a7] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1763 
  at GooglePlayServices.PlayServicesResolver.AutoResolve (System.Action resolutionComplete) [0x00017] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1257 
  at GooglePlayServices.PlayServicesResolver.<ScheduleAutoResolve>m__B () [0x00016] in Z:\tmp\tmp.S5XIEONF7B\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1236 
  at Google.RunOnMainThread.ExecutePollingJobs () [0x0004a] in Z:\tmp\tmp.K9OFax9s5i\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\RunOnMainThread.cs:409
@rzer rzer added new to be triaged type: question labels Sep 26, 2023
@paulinon paulinon removed the new to be triaged label Sep 27, 2023
@paulinon
Copy link
Collaborator

Hi @rzer,

I see that you're importing version 11.0.0 of the Firebase SDK which depends on version 1.2.176 of the EDM4U. Could you try either an updated Firebase SDK version (11.4.0 or higher) or the aforementioned EDM4U version so that we can confirm if a mismatch with the dependencies is causing this to happen?

@paulinon paulinon added the needs-info Need information for the developer label Sep 28, 2023
@rzer
Copy link
Author

rzer commented Oct 1, 2023

I prepared minimum test project with error with EDM4U 1.2.176. It seems that path truncated wrong. Maybe its depends on Project Name or something else. Screenshot attached:

image

Path to package.json: D:\temp\GradleResolverError\com.google.firebase.app-11.0.0\com.google.firebase.app-11.0.0\package\package.json
Wrong path: D:\temp\GradleResolverError\UnityGradleError\se.app-11.0.0\com.google.firebase.app-11.0.0\package

As you can see *UnityGradleError* no need to be here and next folder name truncated wrong. Maybe it deletes 17 chars from right part, but need to delete 17 chars from the left?

UPD. i have added one letter to Project folder (UnityGradleErrorr) and wrong path now: D:\temp\GradleResolverError\UnityGradleErrorr\e.app-11.0.0\com.google.firebase.app-11.0.0\package it looks like the wrong part of the path is being cut off

Added by relative or absolute path does not affect the error. It always the same.

"com.google.firebase.app": "file:../../com.google.firebase.app-11.0.0/com.google.firebase.app-11.0.0/package",
"com.google.firebase.app": "file:D:/temp/GradleResolverError/com.google.firebase.app-11.0.0/com.google.firebase.app-11.0.0/package",

Error on unity startup:

DirectoryNotFoundException: Could not find a part of the path 'D:\temp\GradleResolverError\UnityGradleError\se.app-11.0.0\com.google.firebase.app-11.0.0\package'.
System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) (at <88e4733ac7bc4ae1b496735e6b83bbd3>:0)
System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) (at <88e4733ac7bc4ae1b496735e6b83bbd3>:0)
System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) (at <88e4733ac7bc4ae1b496735e6b83bbd3>:0)
System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) (at <88e4733ac7bc4ae1b496735e6b83bbd3>:0)
System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories (System.String directory, System.String expression, System.IO.EnumerationOptions options) (at <88e4733ac7bc4ae1b496735e6b83bbd3>:0)
System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) (at <88e4733ac7bc4ae1b496735e6b83bbd3>:0)
System.IO.Directory.GetDirectories (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) (at <88e4733ac7bc4ae1b496735e6b83bbd3>:0)
System.IO.Directory.GetDirectories (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) (at <88e4733ac7bc4ae1b496735e6b83bbd3>:0)
Google.FileUtils.FindPathUnderDirectory (System.String directory, System.String pathToFind) (at Z:/tmp/tmp.HxZ6GJgqcA/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/FileUtils.cs:247)
GooglePlayServices.GradleResolver.RepoPathToUri (System.String repoPath, System.String sourceLocation) (at Z:/tmp/tmp.JhuLcQKuSI/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/GradleResolver.cs:196)
GooglePlayServices.GradleResolver.DependenciesToRepoUris (System.Collections.Generic.IEnumerable`1[T] dependencies) (at Z:/tmp/tmp.JhuLcQKuSI/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/GradleResolver.cs:279)
GooglePlayServices.PlayServicesResolver.GetRepos (System.Collections.Generic.IEnumerable`1[T] dependencies) (at Z:/tmp/tmp.JhuLcQKuSI/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/PlayServicesResolver.cs:2142)
GooglePlayServices.LocalMavenRepository.FindLocalRepos (System.Collections.Generic.ICollection`1[T] dependencies) (at Z:/tmp/tmp.JhuLcQKuSI/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/LocalMavenRepository.cs:41)
GooglePlayServices.LocalMavenRepository.FindAarsInLocalRepos (System.Collections.Generic.ICollection`1[T] dependencies) (at Z:/tmp/tmp.JhuLcQKuSI/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/LocalMavenRepository.cs:76)
GooglePlayServices.LocalMavenRepository.PatchPomFilesInLocalRepos (System.Collections.Generic.ICollection`1[T] dependencies) (at Z:/tmp/tmp.JhuLcQKuSI/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/LocalMavenRepository.cs:191)
GooglePlayServices.PlayServicesResolver.DeleteResolvedLibrariesFromGradleTemplate (System.Boolean updateMainTemplate, System.Boolean updateSettingsTemplate) (at Z:/tmp/tmp.JhuLcQKuSI/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/PlayServicesResolver.cs:1679)
GooglePlayServices.PlayServicesResolver.ResolveUnsafe (System.Action`1[T] resolutionComplete, System.Boolean forceResolution, System.Boolean closeWindowOnCompletion) (at Z:/tmp/tmp.JhuLcQKuSI/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/PlayServicesResolver.cs:1956)
GooglePlayServices.PlayServicesResolver+<ResolveUnsafeAfterPromptCheck>c__AnonStorey8.<>m__0 (Google.DialogWindow+Option selectedOption) (at Z:/tmp/tmp.JhuLcQKuSI/third_party/unity/unity_jar_resolver/source/AndroidResolver/src/PlayServicesResolver.cs:1868)
Google.DialogWindow.RenderOptionButtons () (at Z:/tmp/tmp.HxZ6GJgqcA/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/DialogWindow.cs:389)
Google.DialogWindow.OnGUI () (at Z:/tmp/tmp.HxZ6GJgqcA/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/DialogWindow.cs:315)
UnityEditor.HostView.OldOnGUI () (at <964670f15c6b47f9b8f9340732720473>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <c3bffb462a5b404cb5d53d3f0e9b6f49>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <ff6b5db041e141f9a771d6b39c070602>:0)

After exiting Play mode:

Stopped polling job due to exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\temp\GradleResolverError\UnityGradleError\se.app-11.0.0\com.google.firebase.app-11.0.0\package'.
  at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x0004d] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00050] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x00045] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00008] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0 
  at Google.FileUtils.FindPathUnderDirectory (System.String directory, System.String pathToFind) [0x0003d] in Z:\tmp\tmp.HxZ6GJgqcA\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\FileUtils.cs:247 
  at GooglePlayServices.GradleResolver.RepoPathToUri (System.String repoPath, System.String sourceLocation) [0x00133] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\GradleResolver.cs:196 
  at GooglePlayServices.GradleResolver.DependenciesToRepoUris (System.Collections.Generic.IEnumerable`1[T] dependencies) [0x00107] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\GradleResolver.cs:279 
  at GooglePlayServices.PlayServicesResolver.GetRepos (System.Collections.Generic.IEnumerable`1[T] dependencies) [0x00000] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2142 
  at GooglePlayServices.LocalMavenRepository.FindLocalRepos (System.Collections.Generic.ICollection`1[T] dependencies) [0x00017] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\LocalMavenRepository.cs:41 
  at GooglePlayServices.LocalMavenRepository.FindAarsInLocalRepos (System.Collections.Generic.ICollection`1[T] dependencies) [0x00006] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\LocalMavenRepository.cs:76 
  at GooglePlayServices.LocalMavenRepository.PatchPomFilesInLocalRepos (System.Collections.Generic.ICollection`1[T] dependencies) [0x00006] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\LocalMavenRepository.cs:191 
  at GooglePlayServices.PlayServicesResolver.DeleteResolvedLibrariesFromGradleTemplate (System.Boolean updateMainTemplate, System.Boolean updateSettingsTemplate) [0x00000] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1679 
  at GooglePlayServices.PlayServicesResolver.ResolveUnsafe (System.Action`1[T] resolutionComplete, System.Boolean forceResolution, System.Boolean closeWindowOnCompletion) [0x00118] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1956 
  at GooglePlayServices.PlayServicesResolver.ResolveUnsafeAfterPromptCheck (System.Action`1[T] resolutionComplete, System.Boolean forceResolution, System.Boolean isAutoResolveJob, System.Boolean closeWindowOnCompletion) [0x000fa] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1877 
  at GooglePlayServices.PlayServicesResolver+<ResolveUnsafeAfterJetifierCheck>c__AnonStorey7.<>m__0 (System.Boolean jetifierEnabled) [0x00000] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1786 
  at GooglePlayServices.PlayServicesResolver+<CanEnableJetifierOrPromptUser>c__AnonStoreyF.<>m__1 (GooglePlayServices.PlayServicesResolver+ApiLevelJetifierResult result) [0x00049] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2758 
  at GooglePlayServices.PlayServicesResolver.CheckApiLevelForJetifier (System.Boolean useJetifier, System.String titlePrefix, System.Action`1[T] complete) [0x00096] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2722 
  at GooglePlayServices.PlayServicesResolver+<CanEnableJetifierOrPromptUser>c__AnonStoreyF.<>m__0 (System.Boolean gradleVersionOkForJetifier) [0x00000] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2743 
  at GooglePlayServices.PlayServicesResolver.CheckGradleVersionForJetifier (System.Boolean useJetifier, System.String titlePrefix, System.Action`1[T] complete) [0x0009e] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2650 
  at GooglePlayServices.PlayServicesResolver.CanEnableJetifierOrPromptUser (System.String titlePrefix, System.Action`1[T] complete) [0x00046] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:2741 
  at GooglePlayServices.PlayServicesResolver.ResolveUnsafeAfterJetifierCheck (System.Action`1[T] resolutionComplete, System.Boolean forceResolution, System.Boolean isAutoResolveJob, System.Boolean closeWindowOnCompletion) [0x00027] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1783 
  at GooglePlayServices.PlayServicesResolver+<ScheduleResolve>c__AnonStorey5.<>m__0 () [0x00000] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1750 
  at GooglePlayServices.PlayServicesResolver.ExecuteNextResolveJob () [0x00069] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1597 
  at GooglePlayServices.PlayServicesResolver.ScheduleResolve (System.Boolean forceResolution, System.Boolean closeWindowOnCompletion, System.Action`1[T] resolutionCompleteWithResult, System.Boolean isAutoResolveJob) [0x000a7] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1763 
  at GooglePlayServices.PlayServicesResolver.AutoResolve (System.Action resolutionComplete) [0x00017] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1257 
  at GooglePlayServices.PlayServicesResolver.<ScheduleAutoResolve>m__B () [0x00016] in Z:\tmp\tmp.JhuLcQKuSI\third_party\unity\unity_jar_resolver\source\AndroidResolver\src\PlayServicesResolver.cs:1236 
  at Google.RunOnMainThread.ExecutePollingJobs () [0x0004a] in Z:\tmp\tmp.HxZ6GJgqcA\third_party\unity\unity_jar_resolver\source\VersionHandlerImpl\src\RunOnMainThread.cs:409 
UnityEngine.Debug:LogError (object)
Google.RunOnMainThread:ExecutePollingJobs () (at Z:/tmp/tmp.HxZ6GJgqcA/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:412)
Google.RunOnMainThread:<ExecuteAllUnnested>m__1 () (at Z:/tmp/tmp.HxZ6GJgqcA/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:541)
Google.RunOnMainThread:RunAction (System.Action) (at Z:/tmp/tmp.HxZ6GJgqcA/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:343)
Google.RunOnMainThread:ExecuteAllUnnested (bool) (at Z:/tmp/tmp.HxZ6GJgqcA/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:530)
Google.RunOnMainThread:ExecuteAll () (at Z:/tmp/tmp.HxZ6GJgqcA/third_party/unity/unity_jar_resolver/source/VersionHandlerImpl/src/RunOnMainThread.cs:512)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

@google-oss-bot google-oss-bot added needs-attention Need Googler's attention and removed needs-info Need information for the developer labels Oct 1, 2023
@paulinon
Copy link
Collaborator

paulinon commented Oct 2, 2023

Thanks for the information, @rzer. I was able to reproduce the issue you're facing even with updated Firebase and EDM4U SDK versions. That said, I've relayed my observations to the team, and you may refer to this thread for updates.

@paulinon paulinon added type: bug and removed needs-attention Need Googler's attention labels Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants