Obsolete code warnings

Forums 💬 NodeCanvas ⚙️ Support Obsolete code warnings

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17717
    racoon
    Participant

      Hi, just to let you know – upon importing Node Canvas Lite in Unity 2017 it spawns a bunch of obsolete code warnings. In general, it’s caused by this:

      Unity 2017 is not Unity 5 anymore, so it goes to the “else” condition – which is obsolete.
      #if UNITY_5 || UNITY_2017 works fine. Besides this, there’s also serObject.UpdateIfDirtyOrScript(); which the Editor recommends to change to serObject.UpdateIfRequiredOrScript();.

      Just an initial observation – I’m eager to try this tool out! 😉

      #17718
      Gavalakis
      Keymaster

        Hey!

        The Unity 2017 warnings will all be fixed in the next hotfix version coming around this week 🙂
        Thanks!

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