Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: cmvrgr on April 17, 2017, 01:12:25 PM

Title: Unity 5.6.0 playmaker problem"The variable UiTarget of PlayMakerUGuiComponentPr"
Post by: cmvrgr on April 17, 2017, 01:12:25 PM
While trying to create a button i get this error. Any help will be appreciated.

UnassignedReferenceException: The variable UiTarget of PlayMakerUGuiComponentProxy has not been assigned.
You probably need to assign the UiTarget variable of the PlayMakerUGuiComponentProxy script in the inspector.
UnityEngine.GameObject.GetComponent[Button] () (at C:/buildslave/unity/build/artifacts/generated/common/runtime/GameObjectBindings.gen.cs:38)
PlayMakerUGuiComponentProxy.SetupUiListeners () (at Assets/PlayMaker uGui/Proxies/PlayMakerUGuiComponentProxy.cs:264)
PlayMakerUGuiComponentProxy.Start () (at Assets/PlayMaker uGui/Proxies/PlayMakerUGuiComponentProxy.cs:88)
Title: Re: Unity 5.6.0 playmaker problem"The variable UiTarget of PlayMakerUGuiComponentPr"
Post by: jeanfabre on April 18, 2017, 01:52:08 AM
Hi,

 Can you make a screenshot of your proxy component? Likely the proxy was dropped on a gameobject that has no known UI element.

 Bye,

 Jean