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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
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.