- Home /
Remove .dll
After finding my webplayer crashed from using the WWW class, i decided to remove it entirety. Now i am still occasionally getting crashes on Chrome and i found this in the log: Platform assembly: C:\Users\Douglas\AppData\LocalLow\Unity\WebPlayer\player\Release3.x.x-Development\Data\lib\CrossDomainPolicyParser.dll (this message is harmless) Crash!!!
Why is a CrossDomainPolicyParser.dll getting loaded if i am not using the WWW class anymore and how can i remove it? Thanks in advance for any help i get.
Is there any specific post i should read or are you just suggesting i ask my question there ins$$anonymous$$d? If you were suggesting that, I would have thought answers was a better place to ask a question than the forums. Is there a reason why i should use forums for some specific issues?
Well, actually there's not much we or even the Unity $$anonymous$$m can say about your problem. The CrossDomainPolicyParser dll is part of the UnityEngine and it will always be loaded in the Webplayer. You can't prevent this. The dll isn't part of your project, it belongs to the webplayer itself. It's unlikely that the crash is com$$anonymous$$g from this little dll.
$$anonymous$$ost crashes don't really produce any debug log messages since, well, the application crashed. The loading of the CrossDomainPolicyParser.dll was just the last thing that was written to the log. If you create an infinite loop in Start it would look the same.
If you have tried your game / application on different PCs / browsers and it always crashes, it's very likely something in your code.
And here we are again, without knowing the source of the crash we (the community) can't say anything about your problem. UA is ment for questions that can be answered. It's a knowledge base. For everything else we have the forums.
Thanks for taking the time to answer. I built an empty project and the dll was not mentioned in the log. Are you sure it is always there? Why would it only mention it in the game that once made use of it? It seems to only crash in chrome and only sometimes. $$anonymous$$y game start code should be exactly the same every time so i can not see why sometimes there is an infinite loop but not other times. But i will get onto that issue once i work out why the dll is only appearing the log for my current game! Thanks for the help so far.
Answer by douglassophies · Feb 07, 2013 at 01:18 PM
By disabling streaming from the build settings > web player, i got rid of the CrossDomainPolicyParser.dll message in my log. This also stopped the player from crashing occasionally soon after loading the game. I imagine there is some code i could have fixed to allow the streaming to remain enabled but this solved my issue for now.
Your answer
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
how to enter another request from www with c# 1 Answer
How to stop a WWW which is in progress? 0 Answers
WWW.texture with a wildcard in the URL 1 Answer
Is it possible to call Update() while running in background in iOS? 1 Answer