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
- A Console error is not handled correctly when using #pragma kernel with the Kernel name not provided
- L(a,b) expression in float fields has erratic behaviour when ordering due to using instanceID as an index
- InvalidOperationException is thrown when switching to a custom Debug Draw Mode in Scene View
- [Android][Vulkan] Skybox and Environment effects flicker in the Player when using the Vulkan Graphics API
- "Shortcuts conflict" warning pops up when the shortcuts are different ("Shift + Mouse 2" and "Mouse 2")
Add comment