Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Xbox Live Plugin - Association Wizard DLL issue

Discussion in 'Windows' started by sstrong, Jan 22, 2020.

  1. sstrong

    sstrong

    Joined:
    Oct 16, 2013
    Posts:
    2,219
    I'm using the latest plugin (1804 QFE3) and U2019.3.0f3 for the UWP platform (xbox one creators program).

    I get the following compile errors in the Unity Editor. However, the association wizard in the Unity editor seems to work fine. Has anyone else seen this and is there a workaround to avoid their errors.

    Code (CSharp):
    1. Assembly 'Assets/Xbox Live/Tools/AssociationWizard/Caliburn.Micro.Platform.dll' will not be loaded due to errors:
    2. Unable to resolve reference 'PresentationFramework'. Is the assembly missing or incompatible with the current platform?
    3. Reference validation can be disabled in the Plugin Inspector.
    4. Unable to resolve reference 'PresentationCore'. Is the assembly missing or incompatible with the current platform?
    5. Reference validation can be disabled in the Plugin Inspector.
    6.  
    7. Assembly 'Assets/Xbox Live/Tools/AssociationWizard/System.Windows.Interactivity.dll' will not be loaded due to errors:
    8. Unable to resolve reference 'PresentationCore'. Is the assembly missing or incompatible with the current platform?
    This is the error that is generated when attempting to create a build from the Unity editor
    Code (CSharp):
    1. ArgumentException: The Assembly WindowsBase is referenced by Caliburn.Micro.Platform ('Assets/Xbox Live/Tools/AssociationWizard/Caliburn.Micro.Platform.dll'). But the dll is not allowed to be included or could not be found.
    2. UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1[T] alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2[TKey,TValue] cache, UnityEditor.BuildTarget target) (at <83a73882c51c4602b3d34743827d03e7>:0)
    3. UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at <83a73882c51c4602b3d34743827d03e7>:0)
    4. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
     
  2. sstrong

    sstrong

    Joined:
    Oct 16, 2013
    Posts:
    2,219
  3. phime-studio

    phime-studio

    Joined:
    Nov 16, 2009
    Posts:
    49
    Yeah there is workaround - just mark all the dll's in that folder as Editor only, and they will not be included in the build - as they should'nt in the first place.
     
    derkoi, al12383 and sstrong like this.