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
- Duplicate External Textures start appearing when a Texture created with "CreateExternalTexture" is modified causing Memory Usage spikes on VisionOS
- Silent crash when using a "Blend Shape" in a "Skinned Mesh Renderer" to move vertices to Vector3.positiveInfinity, and "Occlusion Culling" is baked
- Some Prefab Source and Override content bounds are misaligned
- The Package Manager's "install packages by..." panels break when Domain Reload is triggered, and the panel is open
- Crash with multiple stack traces when leaving a docked VFX Graph open
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.