Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.3

Votes

2

Found in

2018.3.0a5

2018.3.6f1

2019.1.0a1

2019.2.0a1

Issue ID

1143118

Regression

No

Identical DLL files targeting different builds with Define Constraints conflict with each other when building a project

Scripting

-

How to reproduce:
1. Download user-submitted folder(protobuf)
2. Create a new Unity project
3. Paste the contents of the downloaded folder into the project
4. See that DevBuild/protobuf-net.dll has 'DEVELOPMENT_BUILD' as its defined constraint
5. See that Release/protobuf-net.dll has '!DEVELOPMENT_BUILD' as its defined constraint
6. Attempt to build the project

Expected result: the project is built without any errors
Actual result: the build is canceled due to dlls conflicting with each other

Reproducible with: 2018.3.0a5, 2018.3.13f1, 2019.1.0f2, 2019.2.0a11
Could not test with: 2017.4.25f1, 2018.3.0a4(Define Constraints field not present)

  1. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a3 and 2019.3.0b10

Comments (3)

  1. 39713a136904bd7f2048afa736fd6532?d=mm

    jozhard

    Aug 30, 2020 22:08

    My project only supports 2018.4 (can't be run with IL2CPP, only .NET backend) and I'm suffering this issue as well... Is there any workaround?

  2. 402c056cd0cc9f0879c04668462facab?d=mm

    tobiass

    Jun 11, 2020 15:59

    This is not ported back to 2018.4? Why? This is clearly a bug and LTS should get bugfixed, afaik.

  3. B4d6c0ce4db2d92aef49b9de3e4d31a2?d=mm

    Applejag

    Jul 30, 2019 10:33

    Is there a found workaround?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.