Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.3.0a1
2018.2.6f1
2018.3.0a1
Issue ID
1111468
Regression
No
[.NET] System.Array.ForEach throws an error when building project with .NET backend
Steps to reproduce:
1. Download the attached project and open "SampleScene" scene
2. Switch platform to UWP
3. Build project with .NET backend
Expected results: Project successfully is build
Actual results: Project build fails
error CS0117: 'Array' does not contain a definition for 'ForEach'
Reproduced with: 2018.3.1f1, 2018.2.20f1, 2017.4.18f1
Reproducible with .NET 3.5 and .NET 4.x scripting runtime
Not reproducible on UWP IL2CPP nor Standalone IL2CPP and mono backends.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Baked Lightmap ”View” button text is aligned incorrectly
- Lightmap Asset icon changes colours after Baked Lightmap Viewer window is opened
- VideoClipImporter preset not applied when applying Preset Selector on already imported video clips
- Frame Debugger gets disabled when any Editor window is maximised and minimised
- TextMeshPro InputField view is not updated when OnEndEdit is triggered
Resolution Note:
Why won't fix: This method is not part of .NET for Universal Windows Platform version 5.0 API surface, which was decided by Microsoft in 2015. The only way to fix this is to upgrade to a newer version of .NET for Universal Windows Platform, which we will not be doing as .NET scripting backend has been deprecated in Unity 2018.2 and removed in Unity 2019.1.