Log in or register to post comments

ComponentFactoryStarterBehaviour.cs error CS1061

May 14, 2018 - 4:21pm #1

I would appreciate any help for this error CS1061 on Unity 5.6.1f1. When I compile from Unity target device Windows Universal 8.1 I get a compile error.


Assets\Vuforia\Scripts\Internal\ComponentFactoryStarterBehaviour.cs(25,55): error CS1061: 'Type' does not contain a definition for 'GetMethods' and no extension method 'GetMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)


Not sure how to resolve this and I know it's a legacy build but my target device is Windows 8.1.

I am successful in a Win 10 UWP, Multi Target, Multi Sound, build and deploy but I am unable to setup my development environment for Windows 8.1. 


void Awake()


            List<MethodInfo> methods = this.GetType().GetMethods(BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly).ToList();

            methods.AddRange(this.GetType().GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly));

            foreach (MethodInfo methodInfo in methods)


                foreach (Attribute attribute in methodInfo.GetCustomAttributes(true))


                    if (attribute is FactorySetter)


                        #if NETFX_CORE  

                        Action factorySetMethod = methodInfo.CreateDelegate(typeof(Action), this) as Action;


                        Action factorySetMethod = Delegate.CreateDelegate(typeof(Action), this, methodInfo) as Action;

                        #endif // NETFX_CORE

                        if (factorySetMethod != null)




ComponentFactoryStarterBehaviour.cs error CS1061

May 14, 2018 - 4:39pm #2

Hello SkipVicente,

Only Windows 10 UWP devices are supported.


Vuforia Support

Log in or register to post comments