Search Issue Tracker

Fixed in 5.1.0

Votes

0

Found in

4.5.5p1

Issue ID

641805

Regression

No

ArrayList.CopyTo() is missing from Windows Phone 8

WP8

-

To reproduce:
1. Create a new script
2. Add these lines to the script:

public Object[] testus;

void Start() {
ArrayList traList = new ArrayList ();
traList.CopyTo(testus);
}

3. Build & run for WP8
4. The build fails with:
Error building Player: Exception: Error: method `System.Void System.Collections.ArrayList::CopyTo(System.Array)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void NewBehaviourScript1::Start().

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.