Skip to main content
Version: 29.1.19

Known Issues

Missing Xcode Workspace File​

Issue:

Building to iOS creates an Xcode project file *.xcodeproj, but not create a Workspace file *.xcworkspace.

Workaround:

  1. Run sudo gem install cocoapods in the project directory via Terminal.

  2. Go to Assets > External Dependency Manager > iOS Resolver > Settings.

  3. Uncheck Use shell to execute Cocoapods Tool.

  4. Uncheck Auto Install Cocoapods Tools in Editor.

  5. Go to Assets > External Dependency Manager > iOS Resolver > Install Cocoapods. A message should be recieved that informs you that Cocoapods is already installed.

  6. Then after you build your project go to the generated Xcode project directory (folder chosen when building from the build settings) and run pod update.

  7. This should generate an Workspace file *.xcworkspace.

Gradle Build Failed​

Issue:

This version of the SDK requires Gradle 6.5+ while Unity versions come bundled with a maximum of Gradle 6.1.1.

Could not resolve all files for configuration ':launcher:debugRuntimeClasspath'.
> Failed to transform dd-sdk-android-1.14.0.aar (com.datadoghq:dd-sdk-android:1.14.0) to match attributes {artifactType=android-manifest, org.gradle.category=library, org.gradle.dependency.bundling=external

Solution:

  • Export the project to Android Studio.

    1. Android Studio will warn you about the Gradle dependency and provide you an option to update.
  • If you would like to build the APK from Unity itself

    1. Install gradle manually following these instructions

    2. Go To Unity > Preferences > External Tools, uncheck Gradle Installed with Unity and set Gradle to the location of the Gradle version you just installed. Unity Gradle Setting

    3. Open the file Assets/Plugins/Android/baseProjectTemplate.gradle and change the Gradle Build Tools version to 4.1.3 on line 19.

    if (EXPORTED_PROJECT.toBoolean()) {
    classpath 'com.android.tools.build:gradle:4.1.3'
    } else {
    classpath 'com.android.tools.build:gradle:4.1.3'
    }

Setting File Reset​

Issue:

The Skillz settings are reset to default values when importing the project into Unity.

Resolution:

  1. Open Assets/Skillz/Settings/SkillzPackageImportListener.cs and change line 17 to match the following:
SkillzDebug.Log(SkillzDebug.Type.SKILLZ, "Project loaded. Listening for import of Skillz.",true);
  1. Change line 30 to match the following:
SkillzDebug.Log(SkillzDebug.Type.SKILLZ, "Skillz package was imported. Generating files required for Android...", true);

Incremental build fails​

Issue:

Incremental build fails for Android in Unity 2021.3 LTS.

Resolution:

Select Clean Build in the Build Settings when building for Android.