When I try to add a ridgedbody component to an object the log says
"Cube : FSM : Set_Rigid : AddComponent : Can't add component: Rigidbody"
yet it still adds it...
I just had unity crash with this being the last log entry (before it closed) not sure if its related.
is this the correct way to do it, any particular reason there is an error when it does in fact add it? or is this something that isn't supposed to work, but somehow is?
Cube : FSM : Set_Rigid : AddComponent : Can't add component: Rigidbody
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.FsmLog:AddEntry(FsmLogEntry)
HutongGames.PlayMaker.FsmLog:LogAction(FsmLogType, String)
HutongGames.PlayMaker.FsmStateAction:LogError(String)
HutongGames.PlayMaker.Actions.AddComponent:DoAddComponent() (at Assets/PlayMaker/Actions/AddComponent.cs:62)
HutongGames.PlayMaker.Actions.AddComponent:OnEnter() (at Assets/PlayMaker/Actions/AddComponent.cs:39)
HutongGames.PlayMaker.FsmState:OnEnter()
HutongGames.PlayMaker.Fsm:EnterState(FsmState)
HutongGames.PlayMaker.Fsm:Start()
PlayMakerFSM:Start()
I have used this a fair bit, using it for optimization purposes and this is the first crash, but also the first time I noticed the error, though the error seems to always happen but still works