Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jan 16, 2015 at 10:28 AM by tanoshimi for the following reason:

Other

avatar image
2
Question by Sarah Marshall · Jan 16, 2015 at 10:27 AM · buildunity5build-errorplugindll

Finding the Problematic dll in "Extracting Referenced dlls Failed" (Unity5)

We are starting to update to Unity5. After upgrading from 4.5.2f1 to 5 we have started to have a problem making builds. Our scenes / projects work correctly in Play Mode. However when we build any scene (including no scene / blank scene) we get the following errors.

 NullReferenceException: Object reference not set to an instance of an object
 UnityEditor.Modules.DefaultPluginImporterExtension+<GetCompatiblePlugins>c__AnonStorey63.<>m__E6 (UnityEditor.PluginImporter imp) (at C:/buildslave/unity/build/Editor/Mono/Modules/DefaultPluginImporterExtension.cs:133)
 System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[UnityEditor.PluginImporter].MoveNext ()
 System.Collections.Generic.List`1[UnityEditor.PluginImporter].AddEnumerable (IEnumerable`1 enumerable) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:128)
 System.Collections.Generic.List`1[UnityEditor.PluginImporter]..ctor (IEnumerable`1 collection) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:65)
 System.Linq.Enumerable.ToArray[PluginImporter] (IEnumerable`1 source)
 UnityEditor.Modules.DefaultPluginImporterExtension.GetCompatiblePlugins (System.String buildTargetName) (at C:/buildslave/unity/build/Editor/Mono/Modules/DefaultPluginImporterExtension.cs:133)
 UnityEditor.Modules.DefaultPluginImporterExtension.CheckFileCollisions (System.String buildTargetName) (at C:/buildslave/unity/build/Editor/Mono/Modules/DefaultPluginImporterExtension.cs:157)
 UnityEditorInternal.PluginsHelper.CheckFileCollisions (BuildTarget buildTarget) (at C:/buildslave/unity/build/Editor/Mono/Plugins/PluginsHelper.cs:25)
 UnityEditor.HostView:OnGUI()
 
 NullReferenceException: Object reference not set to an instance of an object
 UnityEditor.PluginImporter+<GetImporters>c__AnonStoreyD.<>m__E (UnityEditor.PluginImporter imp) (at C:/buildslave/unity/build/artifacts/generated/common/editor/PluginImporterBindings.gen.cs:104)
 System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[UnityEditor.PluginImporter].MoveNext ()
 System.Collections.Generic.List`1[UnityEditor.PluginImporter].AddEnumerable (IEnumerable`1 enumerable) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:128)
 System.Collections.Generic.List`1[UnityEditor.PluginImporter]..ctor (IEnumerable`1 collection) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Collections.Generic/List.cs:65)
 System.Linq.Enumerable.ToArray[PluginImporter] (IEnumerable`1 source)
 UnityEditor.PluginImporter.GetImporters (System.String platformName) (at C:/buildslave/unity/build/artifacts/generated/common/editor/PluginImporterBindings.gen.cs:103)
 UnityEditor.PluginImporter.GetImporters (BuildTarget platform) (at C:/buildslave/unity/build/artifacts/generated/common/editor/PluginImporterBindings.gen.cs:111)
 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:129)
 UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:198)
 UnityEditor.HostView:OnGUI()
 
 Error building Player: Extracting referenced dlls failed.

I've been researching the problem and have seen a number of solutions:

  • Changing API Optimization to 2.0 instead of 2.0 subset

  • Restarting Unity and/or computer

  • Not entering play mode and simply building

Each of these solutions (and some others) have been tried and do not help.

I know from my research that the issue is an out of date or problematic dll or plugin somewhere in our assets. We confirmed this by removing all non-script assets and tried to build. This was successful.

My question is how can I learn which dll etc. is the problematic one? Most other posts of this kind have messages that state the exact dll that is the problem. The above is all the output I have. I have also tried looking in the Unity Editor Log and haven't found anything more helpful in there either.

We have tried to build with both WEBGL and Standalone and this issue occurs in both.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image schouffy · Mar 09, 2015 at 10:20 PM 0
Share

i have the exact same issues after switching to U5 (and building for Android or Standalone doesn't work). Do you have any news about it ? Has a bug been opened, is there anywhere we can find some info ? FWIW : re-creating the project from scratch in U5 and reimporting all assets will work. Thanks

avatar image meat5000 ♦ · Mar 09, 2015 at 10:51 PM 0
Share

Having issues with Unity 5? We recently launched Unity 5 and you may be experiencing issues with this first release. We are working very hard to fix bugs for upco$$anonymous$$g releases, and any known issues, changes and fixes are being documented here so please have a look. Unity Answers is not a bug database, so make sure you are reporting any bugs you encounter, and follow the status of the bug reports in our issue tracker.

avatar image meat5000 ♦ · Mar 09, 2015 at 10:56 PM 0
Share

Also, refer to the upgrade guide

http://docs.unity3d.com/$$anonymous$$anual/UpgradeGuide5-Plugins.html

1 Reply

  • Sort: 
avatar image
0

Answer by tanoshimi · Jan 16, 2015 at 10:28 AM

For bugs in Unity 5, please create a small repro project and report to Unity, not here. Thanks.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

After the build, the object is no longer a childs of another objects 0 Answers

Unity Build Problem, cant change product name 0 Answers

Whenever I open a build of a game, the graphics do not display in the window. Is there a way to fix this? 1 Answer

External library error without external libraries? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges