Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Unity Multiplayer UNetWeaver error when referencing struct in external DLL

Discussion in 'Connected Games' started by Simie, Oct 1, 2015.

  1. Simie

    Simie

    Joined:
    Oct 26, 2012
    Posts:
    369
    I submitted case #721917 a while back, and I was wondering if there was an ETA for when this might be fixed. I store a lot of shared structs (like a custom Point class) in external DLLs for my project, and it's frustrating to have to work around this bug.

    Thanks!
     
    Sycoforge likes this.
  2. Sycoforge

    Sycoforge

    Joined:
    Oct 6, 2013
    Posts:
    602
    Vote here! :)
     
    Simie likes this.
  3. jowitt_msft

    jowitt_msft

    Joined:
    Feb 11, 2016
    Posts:
    3
    The case you submitted was resolved as closed, but UNet weaver still fails for me when trying to use structs defined in external DLLs for Command methods. Has anyone seen this work?
     
  4. Simie

    Simie

    Joined:
    Oct 26, 2012
    Posts:
    369
    If I recall correctly, they didn't fix it, they just made it print an error to the console rather than aborting the weaving process. I abandoned using UNET after that and switched to lidgren.