Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0f4
Issue ID
677882
Regression
No
ArgumentException building plugin scene
When trying to build the project to Windows Store Apps platform, it produces this error:
ArgumentException: The Assembly Microsoft.CSharp is referenced by Facebook.Client ('Assets/Plugins/WSA/Facebook.Client.dll'). But the dll is not allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:160)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:198)
UnityEditor.HostView:OnGUI()
We have other plugin dll's built using the same way as how we built that Facebook.Client.dll, and it works fine.
Repro steps:
1. Open project "case_677882-cleared-TestDLL.zip";
2. Build for WSA, select Universal 8.1 SDK (or any SDK will produce the same error);
3. Observe that the building process has failed;
You can also try remove the Facebook.Client.dll and rebuild the project, the build will success.
Reproducible on 5.0 versions;
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Customize handled extensions" part in the External Tools settings tab is not aligned with other properties
- Editor Diagnostics foldouts do not open when clicked on the foldout title
- [UI Builder] Visual Elements are not placed at the mouse cursor position when Absolute Position Placement is enabled
- "Width" and "Height" text is misaligned with slider ends in Screen Match Mode Parameters section of Panel Settings Asset
- Editor does not quit when Editor is not in focus and any floating window is opened
Add comment