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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment