unity_sdk: WUP on unity 5.3.6 compile error
Hey, we are integratin adjust to all our projects, we use mostly 2017+ unity version with il2cpp scripting backend.
All platforms are working fine, but integrating adjust sdk to project that is runing on Unity 5.3.6f1 .Net (10.0.14393.0 .net version) we have compile error on WUP 10+
also one of the problems is that dll import settings uses newest serialized options, so importing them on old version of unity has empty import settings (but we just copy them)
Failed to fix references for method System.String AdjustSdk.Uap.UtilUap::GetDeviceType(Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation)
1> Failed to fix references for type AdjustSdk.Uap.UtilUap
1> System.ArgumentNullException: Value cannot be null.
1> Parameter name: type
1> at Mono.Cecil.ModuleDefinition.ImportReference(TypeReference type, IGenericParameterProvider context)
1> at Mono.Cecil.ModuleDefinition.ImportReference(TypeReference type)
1> at Unity.ModuleContext.Retarget(TypeReference type, GenericContext context)
1> at Unity.FixReferencesStep.Visit(MethodDefinition method, GenericContext context)
1> at Unity.FixReferencesStep.Visit(TypeDefinition type)
1> at Unity.TypeDefinitionDispatcher.DispatchType(TypeDefinition type)
1> at Unity.TypeDefinitionDispatcher..ctor(ModuleDefinition module, ITypeDefinitionVisitor visitor)
1> at Unity.FixReferencesStep.ProcessModule()
1> at Unity.ModuleStep.Execute()
1> at Unity.FixReferencesStep.Execute()
1> at Unity.Step.Execute(OperationContext operationContext, IStepContext previousStepContext)
1> at Unity.Operation.Execute()
1> at Unity.Program.Main(String[] args)
// this is happening on empty unity project
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (15 by maintainers)
to reproduce , you should run on windows machine. Only on windows unity will have option to switch target platform to windows store
Hi @e1iman
Thanks for reporting it, will be addressed soon! Will keep you posted.
Cheers