Search Issue Tracker
Won't Fix
Votes
0
Found in
4.6.3f1
Issue ID
675026
Regression
No
errors referencing unityplayer.winmd
Link to forum thread:
http://forum.unity3d.com/threads/build-error-with-wsa-plugin.300913/
I'm writing a WSA plugin with a reference to UnityPlayer, so I could use UnityPlayer.AppCallbacks to run code in UIThread or AppThread from within the plugin.
reference
\Unity\Editor\Data\PlaybackEngines\metrosupport\Players\WindowsPhone81\ARM\master\UnityPlayer.winmd
This build error log in Unity 4.6.3f1
Error building Player: Exception: Failed to run Reference Rewriter with cmdline --target="Temp/StagingArea\DeviceUtils.dll" --framework="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\WindowsPhoneApp\v8.1" --platform="C:\Program Files (x86)\Windows Phone Kits\8.1\References\CommonConfiguration\Neutral\Windows.winmd" --support="Temp/StagingArea\WinRTLegacy.dll" --supportpartialns=Unity.Partial --system=System --dbg=pdb --alt=System.Xml.Serialization --ignore=System.IConvertible,mscorlib.[Temp/StagingArea\DeviceUtils.dll]
Catastrophic failure while running rrw: Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'UnityPlayer, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null'
at Unity.ReferenceRewriter.RewriteContext.RewriteResolver.ResolveAndRegisterWinmd(AssemblyNameReference name)
at Unity.ReferenceRewriter.RewriteContext.RewriteResolver.Resolve(AssemblyNameReference name)
at Mono.Cecil.MetadataResolver.Resolve(TypeReference type)
at Unity.ReferenceRewriter.RewriteTypeReferences.Visit(TypeReference type, String referencingEntityName)
at Unity.ReferenceRewriter.ReferenceDispatcher.DispatchFields(TypeDefinition type, String referencingEntityName)
at Unity.ReferenceRewriter.ReferenceDispatcher.Dispatch(TypeDefinition type)
at Unity.ReferenceRewriter.ReferenceDispatcher.Dispatch()
at Unity.ReferenceRewriter.RewriteOperation.Execute(RewriteContext context)
at Unity.ReferenceRewriter.Program.Main(String[] args)
---
Won't fix reason:
Users shouldn't reference unityplayer.winmd;
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
- Switching between UI Documents with different Canvas sizes marks the UXML file as dirty
Add comment