Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
1
Question by Kastar-Troy · Dec 18, 2019 at 06:42 AM · androidserverclient-serverxmlserializerwebservice

Android, Xml Serialization and Web Services, trying to access kernel32 and config?

I use System.Web.Services pretty much following the wiki guide: http://wiki.unity3d.com/index.php/Webservices_In_Unity

These issues exist when deploying to Android using System.Xml and System.Web.Services. I have tried running 2.0 compatibility, and 4.6, I've grabbed every possible set of System.Web and System.Web.Services from the MonoBleedingEdge directories, I've tried using the csc.rsp, none of it is working and gives the same errors below.

This is the Xml Serialization class constructor trying to access kernel32 on ANDROID! for some godforsaken reason.... Same issue as others have found, years ago.... https://forum.unity.com/threads/system-xml-serialization-xmlserializer-gives-kernel32-dll-error-with-net-4-6.465563/

I've removed my local paths and application name for privacy.

2019-12-18 16:33:58.825 18600-18704/com.xxxxxxxx W/Unity: Plugins: Couldn't open kernel32, error: dlopen failed: library "kernel32" not found Microsoft.Win32.<>c:<.cctor>b__9_0() System.Lazy1:CreateValue() System.Lazy1:LazyInitValue() System.Lazy1:get_Value() System.Xml.Serialization.TempAssembly:LoadGeneratedAssembly(Type, String, XmlSerializerImplementation&) System.Xml.Serialization.XmlSerializer:.ctor(Type, String) System.Xml.Serialization.XmlSerializer:.ctor(Type) GameStateManager:get_UserAccount() (at Assets\Scripts\Level Manager Scripts\GameStateManager.cs:539) ClientProxyBase1:.ctor() (at Assets\Scripts\Services\ClientProxyBase.cs:96) LogClient:.ctor() (at Assets\Scripts\Services\LogClient.cs:12) DebugHelper:.cctor() (at Assets\Scripts\Misc\DebugHelper.cs:10) InitialiseGraphicSettings:Awake() (at Assets\Scripts\Level Manager Scripts\InitialiseGraphicSettings.cs:120)

The wsdl generated SoapHttpClientProtocol client side proxy classes is trying to access the local config which doesn't exist and fails...

I can't get the rest of this stack trace because the void HandleLog handler is not being called for the soap exception, and the only error message which is output is truncated.....

2-18 16:42:25.607 19933 20061 E Unity : ArgumentException: The specified path is not of a legal form (empty). 12-18 16:42:25.607 19933 20061 E Unity : at System.IO.Path.InsecureGetFullPath (System.String path) [0x00025] in <437ba245d8404784b9fbab9b439ac908>:0 12-18 16:42:25.607 19933 20061 E Unity : at System.IO.Path.GetFullPath (System.String path) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 12-18 16:42:25.607 19933 20061 E Unity : at System.AppDomainSetup.GetAppBase (System.String appBase) [0x00041] in <437ba245d8404784b9fbab9b439ac908>:0 12-18 16:42:25.607 19933 20061 E Unity : at System.AppDomainSetup.get_ApplicationBase () [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 12-18 16:42:25.607 19933 20061 E Unity : at System.AppDomain.get_BaseDirectory () [0x00006] in <437ba245d8404784b9fbab9b439ac908>:0 12-18 16:42:25.607 19933 20061 E Unity : at (wrapper remoting-invoke-with-check) System.AppDomain.get_BaseDirectory() 12-18 16:42:25.607 19933 20061 E Unity : at System.Web.Configuration.WebConfigurationHost.GetWebConfigFileName (System.String dir) [0x00063] in :0 12-18 16:42:25.607 19933 20061 E Unity : at System.Web.Configuration.WebConfigurationHost.GetStreamName (System.String configPath) [0x0005a] in :0 12-18 16:42:25.607 19933 20061 E Unity : at System.Configuration.Configuration.Init (System.Configurati

How are we supposed to consume Web/WCF services from Unity in 2019? Is this a test case that Unity is even looking at?

Any plans to support such a standard communications feature in Unity 2019?

You can't use C# without supporting C# back end services...

Comment
Add comment · Show 1
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 Kastar-Troy · Jan 08, 2020 at 02:32 AM 0
Share

Can anyone from Unity give us a clear indication if you plan to support xml serialization and soap services with Unity 2019.3 and the 4.x framework or 2.0 standard framework?

This hasn't worked for years(2017 is the last version this works in), can we just assume you guys don't care about this and expect us all to use Rest/Json?

So we can at least plan for it..

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Kastar-Troy · Dec 21, 2019 at 12:54 AM

Really no response to this from Unity?

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

124 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 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 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 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 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 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 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

Unexpected Data Received - Photon Server, XmlSerializer and Unity 0 Answers

how do i socket client server in unity? 0 Answers

android serialization weird path issue " IsolatedStorageException ", javascript 0 Answers

Rigidbody that two players can move/interact with over network? 1 Answer

Setting up a web service in Unity? 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