Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Setup bytecode stripping

Discussion in 'WebGL' started by Ges, Feb 21, 2016.

  1. Ges

    Ges

    Joined:
    Apr 23, 2014
    Posts:
    31
    Hello, Unity!
    I have a multiplatform project. And I separate client-server logic for WebGL and local logic for mobile platforms into separate libraries (dll). Something in mobile logic requared to add in link.xml. But when I try to compile project for WebGL, stripper not found (and it really not exist for this) my mobile logic assembly.
    Code (CSharp):
    1. UnusedBytecodeStripper2.exe did not run properly!
    2. Fatal error in Mono CIL Linker
    3. System.ArgumentException: Unable to find the file for the assembly named 'MyCompany.MobileModel'. Should this assembly be in the project?
    How I can define platform specific link.xml? Or any other way to not rewrite link.xml for every compile?
     
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    which version of Unity? Have you tried with the latest patch?

    I don't think that's possible right now.
     
  3. Ges

    Ges

    Joined:
    Apr 23, 2014
    Posts:
    31
    5.3.2f1. But file really not exist for WebGL, I dont think latest patch change anythithing.
    Would be great if you promote this feature (define platform specific link.xml) ASAP.