question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WUP on unity 5.3.6 compile error

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
e1imancommented, Dec 16, 2019

to reproduce , you should run on windows machine. Only on windows unity will have option to switch target platform to windows store

1reaction
uercegcommented, Dec 13, 2019

Hi @e1iman

Thanks for reporting it, will be addressed soon! Will keep you posted.

Cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unity 5.3.6
Runtime: During crashes even if the stack walking is aborted with error (RtlLookupFunctionEntry returned NULL function. Aborting stack walk), ...
Read more >
Compiler Errors Have To Be Fixed - I HAVE NO ERRORS?
I had this in Unity 5.3.1, the error was actual behind a conditional compile, but once I closed and re-opened Unity it appeared...
Read more >
Unity 5.3 Compile Error. · Issue #882
i have the Google Play Services and Google For Admob. i deleted plugins and folders and added again latest version. and i got...
Read more >
I cant build my game in unity. How can i fix it?
It looks like some files are missing. Try reinstalling Unity to see if the error goes away. We can't help you if we...
Read more >
Compilation error after importing com.unity.entites. : r/Unity3D
When I import the com.unity.entites package (any version newer than… ... into an empty 2D project I get the following compilation error:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found