Search Issue Tracker
Fixed in 4.5.6
Votes
1
Found in
4.5.1f3
Issue ID
631027
Regression
No
ArrayList.BinarySearch is not implemented
Trying to build a project with a script that uses ArrayList.BinarySearch or IndexOf fails when targeting WP8 or WP8.1
To reproduce:
1. Create a new project
2. Create a new script
3. Add these lines to start:
ArrayList traList = new ArrayList ();
traList.Add (transform);
traList.BinarySearch (null);
4. Build for WP8 or WP8.1 - exception is thrown in console:
Error building Player: Exception: Error: method `System.Int32 System.Collections.ArrayList::BinarySearch(System.Object)` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll at System.Void NewBehaviourScript::Start().
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Code runs slower when using a cached exception instance compared to creating a new one
- Broken UI in Default Preset Add Section of "Preset Manager" window
- [iOS] The Player freezes when closing the Notification Center and quickly swiping down from top
- Crash on Texture2D:SetPixelImpl when rapidly calling Texture2D.Apply()
- Graph Lines are not rendered when using Experimental GraphView or GridBackground
Add comment