Search Unity

(Resolved) HLAPI: [Server] + return value = invalid IL errors?

Discussion in 'Multiplayer' started by chrismarch, Sep 16, 2015.

  1. chrismarch

    chrismarch

    Joined:
    Jul 24, 2013
    Posts:
    472
    I've heard from another dev on my team that invalid IL errors may occur in the case that [Server] is on a method that returns a value in 5.1.1f1 (64-bit, PC). His workaround is to return the value as an out argument, although I had just been commenting out the [Server] attributes for these cases.
     
  2. chrismarch

    chrismarch

    Joined:
    Jul 24, 2013
    Posts:
    472
    Oops, never mind, it appears to be fixed in 5.1.1f1