Skip to content

Build errors when building in linux unity editor for linux build target with devtodev used as UPM package #20

Description

@SuperUnityCoder

Hi!
We have build issues when we try to make Unity build on Linux for Linux build target with devtodev used as UPM package:

Library/PackageCache/com.devtodev.sdk.analytics@fcdef76d4c/Runtime/Analytics/DTDEditorModel.cs(5,7): error CS0246: The type or namespace name 'DevToDev' could not be found (are you missing a using directive or an assembly reference?)

Library/PackageCache/com.devtodev.sdk.analytics@fcdef76d4c/Runtime/Analytics/DevToDevSDK.cs(4,7): error CS0246: The type or namespace name 'DevToDev' could not be found (are you missing a using directive or an assembly reference?)

Library/PackageCache/com.devtodev.sdk.analytics@fcdef76d4c/Runtime/Analytics/DevToDevSDK.cs(7,7): error CS0246: The type or namespace name 'DevToDev' could not be found (are you missing a using directive or an assembly reference?)

Library/PackageCache/com.devtodev.sdk.analytics@fcdef76d4c/Runtime/Analytics/DTDEditorModel.cs(18,16): error CS0246: The type or namespace name 'DTDLogLevel' could not be found (are you missing a using directive or an assembly reference?)

Library/PackageCache/com.devtodev.sdk.analytics@fcdef76d4c/Runtime/Analytics/DevToDevSDK.cs(18,16): error CS0246: The type or namespace name 'DTDLogLevel' could not be found (are you missing a using directive or an assembly reference?)

Using unity 2022.3.31f1. Occurs on 3.8.5 & 3.9.1.

We are aware that you do not support Linux as a target platform. We do not expect that, but we would appreciate if your package is not breaking Linux build. That can be achieved by Assembly definitions having exclusions correctly set.

I have working build when I import unity package manually and set them as shown here:

Image

Unfortunately, UPM package is read-only, so I can't setup those exclusions myself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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