Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 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 /
avatar image
0
Question by Tomza · Sep 17, 2013 at 09:18 AM · webplayerbuild-errordllbuildingdll error

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

Hello! My second question for you: Why can't I build Web Player in Unity while I have no problems with building standalone versions? Please don't tell me that is shouldn't use .NET 2.0 subset. It doesn't work. I know my question are hard for you. My first problem hasn't been solved so far. This is another hard question for you. I have a problems with building Web Player. The problem exists every time I try to build Web Player. I hears am error beep and see in Console:

alt text

Here's the error:

ArgumentException: The Assembly System.Web is referenced by log4net. 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:/BuildAgent/work/cac08d8a5e25d4cb/Editor/Mono/AssemblyHelper.cs:106) 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:/BuildAgent/work/cac08d8a5e25d4cb/Editor/Mono/AssemblyHelper.cs:109) 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:/BuildAgent/work/cac08d8a5e25d4cb/Editor/Mono/AssemblyHelper.cs:109) 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:/BuildAgent/work/cac08d8a5e25d4cb/Editor/Mono/AssemblyHelper.cs:109) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/BuildAgent/work/cac08d8a5e25d4cb/Editor/Mono/AssemblyHelper.cs:141)

And:

Error building Player: Extracting referenced dlls failed.

Well, IT specialists/game developers, please tell me how to fix it.

webplayer.png (151.2 kB)
Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by ArkaneX · Sep 17, 2013 at 11:04 AM

log4net depends on System.Web, which according to official documentation is not supported in Web Player.

To solve your problem, I guess you could download log4net sources, change them so that they won't require System.Web, and build your own logger version. Or you can check these links - it looks like some Unity users already did it:

http://www.valion-game.com/295/use-log4net-for-efficient-logging-in-unity3d/

http://forum.unity3d.com/threads/8380-Using-log4net-for-logging-)

Comment
Add comment · Show 6 · 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
avatar image Tomza · Sep 17, 2013 at 05:31 PM 0
Share

Thanks! It works.

I asked another question. About using Unity with Linux, but ad$$anonymous$$s didn't publish it. What is it? It's strange to me. Where are democracy and freedom? $$anonymous$$aybe they have an agreement with $$anonymous$$icrosoft not to cooperate with Linux. Shame on you, the Unity Team!

avatar image roojerry · Sep 17, 2013 at 05:39 PM 0
Share

@$$anonymous$$za your question was rejected by community $$anonymous$$oderators, not "The Unity Team". Users with more than 1k karma moderate new questions and it was probably denied because it wasn't a question suited for the Answers site. It's barely a discussion question and mostly a rant about Unity not being on Linux. Sticking a vote to it on the feedback page would be the best way for you to voice your opinion on the matter.

avatar image Tomza · Sep 17, 2013 at 05:50 PM 0
Share

Thanks for explanations. I wish to use Unity on Linux.Yes, I'll vote. I wish them to make a Linux version.

avatar image ArkaneX · Sep 17, 2013 at 07:59 PM 0
Share

@$$anonymous$$za - if my answer was correct, please consider accepting it by clicking a proper icon near top of the answer.

avatar image Tomza · Sep 17, 2013 at 08:07 PM 0
Share

Yes, I hope I did it correctly. I'm new here and still learning.

Show more comments
avatar image
0

Answer by OZAV · Aug 08, 2014 at 12:51 PM

No, it will never work properly, with web-builds - HTML5, in Unity, as - the unity has FAILED to do this properly so far, for the Web Export platform (which is now world wide known). The new hope arises in: using Web GL instead, which is coming with new version V5 of unity, soon, where we hope to see a better job from Unity team, regardless web platforms exports for games. -We did, in our studio, hours-and-hours of research about this problem, only to have the majority of our tests results - inconclusive. (with the properly built export modules with other game engines, you DO know what is the problem, after such tests ... but with Unity (regardless web-builds for HTML5 - you never will). (so, save yourself some time, and nerves - it's not worth it). And, no panic - there is nothing you did wrong regardless your game, it's Unity team who did integration, and HTML export module - wrongly. To be even worse, for our experience - they never answered my numerous bug reports about this (about 500 by now ...), and direct enquiries as well (about 10 so far). What more for "we don't care" do you need about this ? Also - windows 8 (provided by Micros-Not( is the worst OS we have ever tried for games production ever, which is also not helping either, so you are caught in between these 2 careless factions, so - it's not worth it, really, with the Web Builds, in Unity ... Now, we are to wait and see, what happens with coming V.5, and promissed Web GL export with it (fingers crossed). And, do you know why this said above is absolutely correct as well: Your Unity: Windows / Android, Etc. platform game exports - work perfectly ok.

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

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

18 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Weird game-output! 1 Answer

Error when building with a native plugin 0 Answers

webplayer build error 0 Answers

DLLs work on Windows but not on Android 1 Answer

Unable to find type or namespace of imported DLL 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