Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows 8 Apps Target Build] Error in LWFObject.cs LWFPlayer.cs (LINQ error) #46

Closed
burutofoz opened this issue Dec 13, 2013 · 2 comments

Comments

@burutofoz
Copy link

I'm trying to build a game for windows 8 apps target build. Unity keeps complaining about these errors, perhaps due to removal of some linq features for windows 8 metro style app:

  1. Assets\Plugin\wrapper\LWFObject.cs(642,53): error CS0165: Use of unassigned local variable 'h'
  2. Some error complaints on use of now unsupported linq features for both LWFObject.cs and LWFPlayer.cs: 'System.Collections.Generic.List<>' does not contain a definition for 'ForEach' and no extension method 'ForEach' accepting a first argument of type 'System.Collections.Generic.List>' could be found (are you missing a using directive or an assembly reference?). The suggestion is to use simple foreach statement (http://stackoverflow.com/questions/15449160/list-foreach-not-found) to increase compatibility for new platforms such windows 8 metro apps.
@splhack
Copy link
Contributor

splhack commented Dec 13, 2013

thanks, how about this patch?
https://gist.github.com/splhack/7948983

@splhack
Copy link
Contributor

splhack commented Mar 6, 2014

Any update?

@splhack splhack closed this as completed Mar 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants