I'm developing a web server game that I need to send information to the web server using called references. But I have the following problem
Please Help me
this is Error
WebException: Error writing request: The authentication or decryption has failed. System.Net.WebConnectionStream.WriteHeaders () System.Net.WebConnectionStream.SetHeaders (System.Byte[] buffer) (wrapper remoting-invoke-with-check) System.Net.WebConnectionStream:SetHeaders (byte[]) System.Net.HttpWebRequest.SendRequestHeaders (Boolean propagate_error)
You can't have your Start Method as Webservice. Remove the WebService tags on your MonoBehaviour and you should be good to go. Be sure that your webservice is a pure class without inheriting from MonoBehaviour
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.