Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

4.6.0p1

Issue ID

661319

Regression

No

[IL2CPP] Use of undeclared identifier 'mscorlib_System_Byte_0_0_0' error when deploying project to iOS

iOS

-

To Reproduce:

1. Build the attached project with 4.6 or 5.0 for iOS with scripting backend set to IL2CP.

2. Notice that when compelling the project in xcode this error is thrown:

Use of undeclared identifier 'mscorlib_System_Byte_0_0_0'.

This error is no longer thrown if 'public delegate byte[] BufferEncrypter(bool encrypt, byte[] data);' in IPlayGamesClient(line 112) is removed.

Comments (2)

  1. Quickern2

    Jan 15, 2015 11:24

    Addtitional example for this bug:

    [DllImport("__Internal")]
    public static extern byte[] SomeFunc();

  2. ArjunNair

    Jan 08, 2015 15:16

    Hi,

    I'm using Unity 4.6.1p2 but I still get this error in a certain NGUI file (Localization). The status says "Fixed for future release" for the version 4.6.0p1. Does this mean that it didn't make it to 4.6.1p2 or does it mean that am I missing something?

    Thanks,
    Arjun

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.