Search Issue Tracker

By Design

Votes

16

Found in

5.0.0f1

Issue ID

672361

Regression

No

4.5 version pdb2mdb.exe missing few dlls

Mono

-

There is missing few dll`s in "(Your Unity)\Editor\Data\MonoBleedingEdge\lib\mono" that is required by pdb2mdb.exe. It used to work on 4* unity 4.0 pdb2mdb version.

Steps:

1. Go to "(Your Unity)\Editor\Data\MonoBleedingEdge\lib\mono".
2. Run pdb2mdb.exe.
3. It should crash.

Workaround:

Copy Mono.Cecil.dll, Mono.Cecil.Pdb.dll, Mono.Cecil.Mdb.dll from "(Your Unity)Monodevelop\Bin\" to "(Your Unity)\Editor\Data\MonoBleedingEdge\lib\mono".

Reproduced: 5.0.0f4

Comments (6)

  1. 8b1a42e8bcbf816696f60a10cfa3b940?d=mm

    JoshPeterson

    Mar 08, 2016 16:05

    After investigating this issue some, it doesn't look like this is something that we can easily correct. The problem occurs when pbd2mdb.exe is executed with the .NET runtime instead of the Mono runtime (which is the default behavior on Windows). There are a few easy work arounds that do not involve copying files though. More details here: http://forum.unity3d.com/threads/running-pdb2mdb-with-unity-5-and-later.390456/

  2. 308ead368e28640609362edd0b23cc17?d=mm

    Independent Arts Software GmbH

    Feb 08, 2016 14:40

    Problem still exists with Unity 5.3.2f1

  3. Cb13e7476e8713f076d17121e15e8d25?d=mm

    MorrisonCole

    Nov 23, 2015 10:08

    This is the case in Unity 5.2.1f as well.

  4. Cade12c0241712a0dae91201f24bb00d?d=mm

    Maxii

    Nov 01, 2015 15:03

    Reproduced on 5.2.2. I found you only needed to copy the \mono\gac version Mono.Cecil.dll to \4.5, not any .pdb or .mdb for pdb2mdb.exe to work.

    A related question though: why doesn't pdb2mdb.exe find the Cecil in \mono\gac itself? Isn't that the point of a gac?

  5. 267fa325b7b09a82eb932e181b2f6198?d=mm

    levwsr

    Jun 05, 2015 17:06

    reproduced 5.1.0f2 (beta)
    ADDITIONAL NOTE: actually need to copy the dlls to Editor\Data\MonoBleedingEdge\lib\mono\4.5

    for it to work for me.

  6. 9b91e17fdf34eefbffd47fd28b88f00f?d=mm

    contentdeveloperfour

    Apr 29, 2015 05:22

    Reproducible on Unity 5.0.1f1.

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.