Could someone do me the courtesy to explain to me the correct way for me to get a good result?
I researched a lot here in the forum and on google but I found no solution to this problem. But I found several people with the same problem and are also unresolved!.
I’ll be really grateful for your help!
To me, the problem remains , but now I found out the reason, but do not know how to fix!
Using the property: “WWW Security Emulation”, I managed to access the image as reading.
My real need is to read texture that received by the WWW class, and I only get this when I’m not using WEB Player!
So I suspect that:
My WebPlayer, not being able to read this crossdomain.xml file on my domain root.
Could this be the problem?
And if so, how can I make my WebPlayer find the crossdomain.xml file ?
Look the attachment of this post!
This is the result I want to achieve. In this picture i did not perform in WebPlayer mode.
Using the simple example that I put in the first post, I can only get the texture image but am not able to manipulate the image to create this effect! This is the reason I do not have access to reading pixels of this image. I read in the documentation that I can only read the texture if there is a crossdomain.xml in my area that I am accessing.
The Problem is that I already put the crossdomain.xml in the domain root, but my WebPlayer not reading it!.
I suspect that the issue is related to the domain, but it’s not something I know enough about to be able to say what the exact problem is
I did find mention on Unity Answers that the crossdomain.xml file must be in UTF-8 Format, or it doesn’t work correctly.
Also the Debugging section on this page talks about an environment variable you can enable to get more console messages, perhaps this may help you see what’s happening.
I do not believe that is the configuration problem of the hosting because I place on my local test server also. And the same happens on my server!
I already did configured my system to read the LOG debug with the return of crossdomain.xml.
When I run my project in the editor and access the LOG I get no message regarding crossdomain.xml
But if I configure WWW Security Emulation, I can receive a message in the log file, referring to crossdomain. The problem is that he no is with the data I’ve set up in my domain in crossdomain.xml. It generates an automatic settings crossdomain.xml with him. I do not understand it!
Note that these data are not correct! Not my crossdomain.xml file.
If I run my project without configuring the WWW Security emulation, it does not return anything related to the crossdomain.xml and conseguentemente does not work!
I’m very sad with these results! I can not see anything wrong that I can be doing!. Would be the case for send report to staff unity?