Search Issue Tracker

Fixed in 5.1.0

Votes

0

Found in

4.5.2f1

Issue ID

621496

Regression

No

Missing System.Type definitions

Windows Store Apps

-

User says the problem is Unity doesn't support Win Store libraries (NET 4.5) and as such there's no way to implement GetRuntimeMethod, GetRuntimeProperty or GetRuntimeField.

Repro steps:
1. open user's project;
2. try to build to WSA platform;
3. observe errors in the console;

Errors example:
'System.Type' does not contain a definition for 'GetProperty' and no extension method 'GetProperty' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)

Reproduced on 4.6.1p3, 5.0.0b19;

Comments (3)

  1. pango

    Feb 01, 2016 15:39

    Still happens in 5.3.1f1

  2. SeveneduS

    Aug 08, 2015 18:22

    The same on Unity v 5.1.2f1 Pro.
    I get following Error code:
    --error CS1061: 'System.Type' does not contain a definition for 'GetProperty' and no extension method 'GetProperty' accepting a first argument of type 'System.Type' could be found (are you missing a using directive or an assembly reference?)

    This happens only for WSA platform, for Mac everything is OK.

  3. deadlyfingers

    Jun 08, 2015 22:02

    This happens in 5.0.2f1

Add comment

Log in to post comment