Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Unity Multiplayer (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:
    459
    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:
    459
    Oops, never mind, it appears to be fixed in 5.1.1f1