Search Issue Tracker
By Design
Votes
0
Found in
4.6.0f3
Issue ID
650265
Regression
No
[WSA] System.Collections.Generic.List<string> does not contain a definition for 'ForEach'
Can't build the project to WSA platform, when compilation overrides is set to "Use Net Core";
Error in console:
Assets\Main.cs(19,21): error CS1061: 'System.Collections.Generic.List<string>' does not contain a definition for 'ForEach' and no extension method 'ForEach' accepting a first argument of type 'System.Collections.Generic.List<string>' could be found (are you missing a using directive or an assembly reference?)
Reproducible on 4.5, 4.6, 5.0 versions;
Repro steps:
1. open user's sent project "BugRepo.zip" (open with 4.6 or higher, because it has uGUI elements and crashes on 4.5);
2. try to build to WSA when compilation overrides is set to "Use Net Core";
Workaround is to build with compilation overrides set to "None";
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment