Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
misugijunz opened this Issue · 2 comments

2 participants

@misugijunz

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
Owner

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

@splhack
Owner

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.