Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

New locomotion system breaks builds #884

Closed
StephenHodgson opened this issue Sep 9, 2021 · 6 comments
Closed

New locomotion system breaks builds #884

StephenHodgson opened this issue Sep 9, 2021 · 6 comments
Assignees
Labels
Bug Something isn't working

Comments

@StephenHodgson
Copy link
Contributor

XRTK - Mixed Reality Toolkit Bug Report

Describe the bug

When using the com.xrtk.core 0.3.0-preview.24 package I'm getting the following when building my project:

System.Exception: Interface XRTK.Interfaces.IMixedRealityService method System.String XRTK.Interfaces.IMixedRealityService::get_Name() not implemented on non-abstract class XRTK.Services.LocomotionSystem.LocomotionSystem
   at Unity.IL2CPP.Metadata.VTableBuilder.ValidateInterfaceMethodSlots(TypeDefinition typeDefinition, Dictionary`2 interfaceOffsets, List`1 slots)
   at Unity.IL2CPP.Metadata.VTableBuilder.VTableForType(ReadOnlyContext context, TypeDefinition typeDefinition, Dictionary`2 interfaceOffsets, Int32 currentSlot)
   at Unity.IL2CPP.Metadata.VTableBuilder.VTableFor(ReadOnlyContext context, TypeReference typeReference)
   at Unity.IL2CPP.AssemblyConversion.PrimaryCollection.Steps.PerAssembly.AssemblyCollection.CollectGenericMethodsFromVTableSlots(GlobalPrimaryCollectionContext context, AssemblyDefinition item)
   at Unity.IL2CPP.AssemblyConversion.PrimaryCollection.Steps.PerAssembly.AssemblyCollection.ProcessItem(GlobalPrimaryCollectionContext context, AssemblyDefinition item)
   at Unity.IL2CPP.AssemblyConversion.Steps.Base.ScheduledItemsStepFunc`5.WorkerWrapper(WorkItemData`3 workerData)
   at Unity.IL2CPP.Contexts.Scheduling.PhaseWorkScheduler`1.ContinueWithResultsWorkItem`4.InvokeWorker(Object context, Int32 uniqueId)
   at Unity.IL2CPP.Contexts.Scheduling.PhaseWorkScheduler`1.BaseContinueWorkItem`2.Invoke(Object context, Int32 uniqueId)
   at Unity.IL2CPP.Contexts.Scheduling.PhaseWorkScheduler`1.WorkerLoop(Object data)

To Reproduce

  1. Import latest preview package into a project
  2. Build project
  3. See error

Expected behavior

No errors on build

Actual behavior

Build does not complete

@StephenHodgson StephenHodgson added the Bug Something isn't working label Sep 9, 2021
@FejZa
Copy link
Contributor

FejZa commented Sep 10, 2021

I will look into this.

@FejZa FejZa self-assigned this Sep 10, 2021
@FejZa
Copy link
Contributor

FejZa commented Sep 10, 2021

I cannot reproduce this. Everything builds and works fine for me with the preview packages.

  • Created new Unity project
  • Installed XRTK.Core
  • Build -> Success
  • Installed XRTK.SDK
  • Build -> Success

Can you add more reproduction steps?

@StephenHodgson
Copy link
Contributor Author

I'll double check if it's still a problem on my production CI/CD

@FejZa
Copy link
Contributor

FejZa commented Sep 14, 2021

Any news on this?

@StephenHodgson
Copy link
Contributor Author

I haven't had time to test, sorry. I'll update as soon as I know more.

@StephenHodgson
Copy link
Contributor Author

I think it was a false positive of some kind.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants