Home Forums Support Unity3d integration

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3358
    Anonymous
    Inactive

    Hi! I’m Rhee, just bought a license.

    I’m trying to use this library in Unity3d. I’ve added net20 merged dlls into my project,
    And I found that if I don’t set api compatibility level to net 2.0, the build crashes at start up.

    How can i use this library with .net 2.0subset api and bytecode-stripping options?

    This is important because in mobile situation, the size of loaded assemblies is also within the lists of optimizations.
    (in my previous project with another network library)

    Btw, sorry for my bad English :D.

    Thanks in advance!

    #3371
    Anonymous
    Inactive

    Heya Cheo,

    As far as I can remember the last time we investigated this the .net2 subset missed some crucial networking classes. Does unity give you any error messages as to what specifically is unavailable in the .net2.0 subset?

    Regards,
    Marc

    #3374
    Anonymous
    Inactive

    Here’s the crash logs produced by unity.

    https://dl.dropboxusercontent.com/u/18580301/2014-10-01_113352.zip

    I’ve tried merged SDK so there might be only one of them causes this problem.

    Thanks!

    #3384
    Anonymous
    Inactive

    Thanks for the crash logs. It doesn’t really say much unfortunately.

    Could you please try using the unmerged core .net2.0 NetworkCommsDotNet.dll, perhaps this will provide more information? This dll does not have any external dependencies.

    Regards,
    Marc

    #3389
    Anonymous
    Inactive

    Sorry for the late reply, I can’t test it at home.

    Here’s the files.

    https://dl.dropboxusercontent.com/u/18580301/2014-10-06_104226.zip

    Maybe .net subset doesn’t provide one of the the library’s essential feature.

    It still crashes. And to reproduce this, just go to build-setting and set Api-compatibility-level to .net 2.0 subset.

    Thanks

    #3394
    Anonymous
    Inactive

    Heya Cheoljung,

    Thanks for the info, unfortunately there is still nothing particularly useful there. Past our unity unit tests we are not very familiar with the platform. We will investigate this problem but in the mean time if you are able to determine exactly which namespace is missing from the .net2.0 subset to help speed up the process that would be greatly appreciated.

    Kind regards,
    Marc

    #3395
    Anonymous
    Inactive

    Good to know!

    http://docs.unity3d.com/412/Documentation/ScriptReference/MonoCompatibility.html

    This link will explain which namespace is missing on .net subset.

    Wish this helps you.

    I have a few global launching experience with Unity, so if there’s anything that I can help,

    Just shoot it!

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.