Compile warning: MonoManager onGUI event is unused in player builds

Forums 💬 NodeCanvas ⚙️ Support Compile warning: MonoManager onGUI event is unused in player builds

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16562
    zsoik
    Participant

      We’re always compiling with warnings-as-errors, so this breaks our code and I have to manually mitigate it on each NC update 😉

      The MonoManager.onGUI event is only used when compiled for the editor, but never when compiled for players. This produces a compilation warning.

      NC: 2.9.7
      Unity 2018.4.10f1 net4x

      #16563
      Gavalakis
      Keymaster

        Hey!

        Thanks for letting me know. I indeed omitted to handle this warning. 🙂

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