Skip to content

[Bug] Force resolve can't resolve dependencies, because can't find 10.5.0 directory #642

Closed
@IgorNebosenko

Description

@IgorNebosenko

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2022.1.23f1
  • Firebase Unity SDK version: 10.5.0
  • Source you installed the SDK: .unitypackage
  • Problematic Firebase Component: Analytics(but at Crashlytics it bug not reproduce, but other trouble)
  • Other Firebase Components in use: only Analytics and Crashlytics
  • Additional SDKs you are using: IronSource LevelPlay Mediation
  • Platform you are using the Unity editor on: Windows 10
  • Platform you are targeting: Android
  • Scripting Runtime: IL2CPP(but it's editor bug)
  • Pre-built SDK from the website or open-source from this repo: this repo

[REQUIRED] Please describe the issue here:

When I make : "Force resolve" from Android dependency manager v. 1.2.175 - I have error of resolve, and have this log at console:

Unable to copy Assets\Firebase\m2repository\com\google\firebase\firebase-app-unity\10.5.0\firebase-app-unity-10.5.0.srcaar to Assets\GeneratedLocalRepo\Firebase\m2repository\com\google\firebase\firebase-app-unity\10.5.0\firebase-app-unity-10.5.0.aar.

This is because at Assets\GeneratedLocalRepo\Firebase\m2repository\com\google\firebase\firebase-app-unity generates folder with name 10, 10 1, 10 2 etc, but not a 10.5.0. If I create manually this folder - Force resolve completes, and build works correctly, but when I make new Force resolve - directory 10.5.0 - destroys and replaces with variant of simple 10, so I need to every Force resolve - create this directory.

This bug also with directory firebase-analytics-unity, at crashlytics - I dob't need to create 10.5.0 directory for every Force Resolve, but this directory... Empty. So I don't have info about crashes

I see this issue, but I have this bug after every Force resolve.

I think, this is simple to solve bug, because create at Generated Local Repo - directories have name 10, but for correct work - required 10.5.0

Steps to reproduce:

Reproduce:

  1. Install my Version Unity Editor
  2. Add Android dependency manager
  3. Import Analytics & crashlytics from repo
  4. Try to make Force resolve(maybe, need to make it twice).

I have this issue at 100 % of attempts to force resolve dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    edm4uIssue related to External Dependency Manager for Unitytype: question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions