Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

BytecodeStripper2.exe not working?

Discussion in 'Unity 5 Pre-order Beta' started by relsirc, Feb 18, 2015.

  1. relsirc

    relsirc

    Joined:
    Jul 3, 2013
    Posts:
    20
    I downloaded and tried building my project in Unity 5 rc1 and rc2.

    I can't seem to build because of some error.
    Error building Player: Exception: /Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe did not run properly!

    Does anyone have the same problem or solution?

    It was building fine prior upto Unity 5 beta 22
     
  2. GabrieleUnity

    GabrieleUnity

    Unity Technologies

    Joined:
    Sep 4, 2012
    Posts:
    116
    Hello,

    if possible, please open a bug report so we can check directly what's going on.

    We've seen some issues with the UnityBytecodeStripper2 after we decided (for a multitude of reasons) to stop stripping the managed plugins.
    If your project is targetting the ".NET 2.0 Subset", you may try to switch to ".NET 2.0" and see if the error goes away. Open the "Player Settings" and under "Other Settings", set "Api Compatibility Level" to ".NET 2.0".
     
  3. relsirc

    relsirc

    Joined:
    Jul 3, 2013
    Posts:
    20
    Hi Gabrielle,

    Thanks for the reply.

    The project is already targetting .NET 2.0 and I've tried disabling the stripping level, but I still get the error. For the mean time I've submitted a bug report.
     
  4. GabrieleUnity

    GabrieleUnity

    Unity Technologies

    Joined:
    Sep 4, 2012
    Posts:
    116
    Ok, thanks a lot.

    Gabriele