playMaker

Author Topic: CS0618 error. Builds are now failing.  (Read 1295 times)

Haymaker

  • Playmaker Newbie
  • *
  • Posts: 11
    • View Profile
CS0618 error. Builds are now failing.
« on: April 27, 2016, 08:05:23 PM »
Only when I try to do a build do I get an error.  My builds fail at the "compiling scripts" section.

Assets/PlayMaker Custom Actions/uGui/uGuiInputFieldScreenToLocal.cs(65,59): warning CS0618: `UnityEngine.UI.InputField.ScreenToLocal(UnityEngine.Vector2)' is obsolete: `This function is no longer used. Please use RectTransformUtility.ScreenPointToLocalPointInRectangle() instead.'

HELP!!! 

Using latest Unity, Playmaker, and uGUI package.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3608
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: CS0618 error. Builds are now failing.
« Reply #1 on: May 01, 2016, 08:44:15 AM »
When you say latest Unity, do you mean the 5.4 beta?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14126
  • Official Playmaker Support
    • View Profile
Re: CS0618 error. Builds are now failing.
« Reply #2 on: May 01, 2016, 10:56:16 PM »
Hi,

 This error is fixed on the latest version of either the action itself or the uGui Package via the Ecosystem.

so, update it, and let me know how it goes.

 What platform are you building on? I am currently in the process of testing windows build as it seems to cause some problems.

Bye,

 Jean