Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UNetWeaver error when referencing struct in external DLL

Discussion in 'UNet' started by Simie, Oct 1, 2015.

  1. Simie

    Simie

    Joined:
    Oct 26, 2012
    Posts:
    456
    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:
    751
    Vote here! :)
     
    Simie likes this.
  3. jowitt_msft

    jowitt_msft

    Joined:
    Feb 11, 2016
    Posts:
    16
    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:
    456
    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.