I’m trying to build a quite complex project to UWP.
And everything works fine when selecting “Master”, but when I select a “Debug” mode, it crashes with an expection at the very start.
That’s Unity 5.5.2f1.
Couln’t test on 5.6 because in doesn’t even compile in VS after being built in 5.6
PS: tried on 5.5.3f1 - the same issue as in 5.5.2
I believe this particular issue is fixed in 5.5.3p1, which should go out this week.
It was caused by us incorrectly processing nested classes that derive from another class and overrides one of its methods.You can workaround it by moving the class in question (“TaskAgent” in your case - I can see it in the second screenshot exception message) to not be a nested class.
What kind of issue are you getting in 5.6?
I get the error in VS when trying to compile the project:
I tried to execute this command in the Windows command line, and get this:
Failed to fix references for attribute System.ComponentModel.DescriptionAttribute
Failed to fix references for field Pathfinding.Ionic.ComparisonOperator Pathfinding.Ionic.ComparisonOperator::GreaterThan
Failed to fix references for type Pathfinding.Ionic.ComparisonOperator
System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в Unity.FixReferencesStep.Visit(ICustomAttributeProvider provider, GenericContext context)
в Unity.FixReferencesStep.Visit(FieldDefinition field, GenericContext context)
в Unity.FixReferencesStep.Visit(TypeDefinition type)
в Unity.TypeDefinitionDispatcher.DispatchType(TypeDefinition type)
в Unity.TypeDefinitionDispatcher…ctor(ModuleDefinition module, ITypeDefinitionVisitor visitor)
в Unity.FixReferencesStep.ProcessModule()
в Unity.ModuleStep.Execute()
в Unity.FixReferencesStep.Execute()
в Unity.Step.Execute(OperationContext operationContext, IStepContext previousStepContext)
в Unity.Operation.Execute()
в Unity.Program.Main(String[ ] args)
The same projects compiles well in Unity 5.5.x
Could we get a bug report on that?
Sure.
Case 897820.
Couldn’t include the project (it is more than 7 gigs size).
We don’t need the whole project - you can strip it down. Probably it’s caused by a plugin or something that you do in your scripts that we don’t expect. It’s unlikely we’ll be able to find what’s wrong without a repro…
OK, I identified the problem - it is A* Pathfinding Project.
Case # 897869
I’ve uploaded the project wich worked in 5.5.x