Skip to content

Issue wrapping the SDK in a custom package (using UPM) #2510

Open
@Noxalus

Description

@Noxalus

Hello everyone,

I'm trying to create a custom package for the SDK to be used in any project easily using the Unity Package Manager, but I get this error many times:

System.Exception: GooglePlayGames folder was renamed
  at GooglePlayGames.Editor.GPGSUtil.get_RootPath () [0x0003e] in C:\Projects\Plugins-Google\Vendors\GooglePlayServices\GooglePlayServices-0.9.62\Assets\GooglePlayGames\Editor\GPGSUtil.cs:129 
  at GooglePlayGames.Editor.GPGSProjectSettings..ctor () [0x0002c] in C:\Projects\Plugins-Google\Vendors\GooglePlayServices\GooglePlayServices-0.9.62\Assets\GooglePlayGames\Editor\GPGSProjectSettings.cs:57 
  at GooglePlayGames.Editor.GPGSProjectSettings.get_Instance () [0x0000e] in C:\Projects\Plugins-Google\Vendors\GooglePlayServices\GooglePlayServices-0.9.62\Assets\GooglePlayGames\Editor\GPGSProjectSettings.cs:39 
  at GooglePlayGames.Editor.GPGSUpgrader..cctor () [0x00001] in C:\Projects\Plugins-Google\Vendors\GooglePlayServices\GooglePlayServices-0.9.62\Assets\GooglePlayGames\Editor\GPGSUpgrader.cs:35 
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()

Looking at the code, I can see there is a check to find the GooglePlayGames folder directly at the root of the Assets folder, but as I'm in a project that uses this package, this folder is in the package hierarchy, not the project one.

Did somemone already tried to do what I want? Is the UPM is planned to be supported?

Thank you in advance for your answer ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions