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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Add comment