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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment