Forum Mobile iOS Error: UnusedBytecodeStripper2.exe did not run properly!

Anything specifically relating to droid or iOS development with Unity can go here.

iOS Error: UnusedBytecodeStripper2.exe did not run properly!

Postby gonzogames » February 26th, 2015, 5:51 pm

We get this error when attempting to build our project for iOS using Unity 4.6.3 with the Scripting Backend set to IL2CPP. In summary, the error is:
Code: Select all
Error building Player: Exception: /Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe did not run properly!


We are already using Yahoo Games Network SDK 3.1.0

Here is the error in detail:
Code: Select all
stdout;
Fatal error in Mono CIL Linker
System.Exception: Error processing method: 'System.Void PlayerIOClient.Internal.identifier1019::javascriptDialog(System.String,System.Collections.Generic.Dictionary`2<System.String,System.String>,System.String,System.Action`1<System.Collections.Generic.Dictionary`2<System.String,System.String>>)' in assembly: 'PlayerIOUnity3DClient.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void UnityEngine.Application::ExternalEval(System.String)
  at Mono.Linker.Steps.MarkStep.MarkMethod (Mono.Cecil.MethodReference reference) [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.MarkInstruction (Mono.Cecil.Cil.Instruction instruction) [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.MarkMethodBody (Mono.Cecil.Cil.MethodBody body) [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.Process () [0x00000] in <filename unknown>:0
  at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0
  at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0
  at Mono.Linker.Driver.Run () [0x00000] in <filename unknown>:0
  at Mono.Linker.Driver.RunDriver (Mono.Linker.Driver driver) [0x00000] in <filename unknown>:0
stderr:


Is there anything we can do on our end to fix this, or will we need to wait for an update from you guys? :D
gonzogames
 
Posts: 4
Joined: December 11th, 2012, 8:37 am

Re: iOS Error: UnusedBytecodeStripper2.exe did not run prope

Postby Guillaume » February 26th, 2015, 10:40 pm

For the moment it's an Unity problem mainly, even if PlayerIO would remove ExternalEval in the DLL, IL2CPP is too instable at the moment.
I already opened a bug report ticket on Unity.

See my thread: viewtopic.php?f=42&t=35857
Guillaume
 
Posts: 277
Joined: March 28th, 2014, 1:59 am
Location: France


Return to Mobile