Skip to content


Subversion checkout URL

You can clone with
Download ZIP


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

misugijunz opened this Issue · 2 comments

2 participants


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 ( to increase compatibility for new platforms such windows 8 metro apps.


thanks, how about this patch?


Any update?

@splhack splhack closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.