Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: SolsActual on June 07, 2013, 05:46:26 PM
-
Keep getting this error when moving, activating, or manipulating the transform of a model using playmaker Transform / GameObject actions. It will allow deactivation though. Giving me a crash. Help please!
The hull has more than 255 polygons. This is invalid.
UnityEngine.Transform:set_position(Vector3)
HutongGames.PlayMaker.Actions.SetPosition:DoSetPosition() (at Assets/PlayMaker/Actions/SetPosition.cs:106)
HutongGames.PlayMaker.Actions.SetPosition:OnEnter() (at Assets/PlayMaker/Actions/SetPosition.cs:49)
HutongGames.PlayMaker.FsmState:OnEnter()
HutongGames.PlayMaker.Fsm:EnterState(FsmState)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState)
HutongGames.PlayMaker.Fsm:UpdateStateChanges()
HutongGames.PlayMaker.Fsm:DoTransition(FsmTransition, Boolean)
HutongGames.PlayMaker.Fsm:ProcessEvent(FsmEvent, FsmEventData)
HutongGames.PlayMaker.Fsm:SendEventToFsmOnGameObject(GameObject, String, FsmEvent)
HutongGames.PlayMaker.Fsm:Event(FsmEventTarget, FsmEvent)
HutongGames.PlayMaker.Actions.SendEvent:OnEnter() (at Assets/PlayMaker/Actions/SendEvent.cs:39)
HutongGames.PlayMaker.FsmState:OnEnter()
HutongGames.PlayMaker.Fsm:EnterState(FsmState)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState)
HutongGames.PlayMaker.Fsm:UpdateStateChanges()
HutongGames.PlayMaker.Fsm:UpdateState(FsmState)
HutongGames.PlayMaker.Fsm:Update()
PlayMakerFSM:Update()
-
Well I figured it out after a long time and no help :P
Basically a mesh collider couldn't be correctly handled even under concave. Had to track down the exact one by clicking on everything till I got the error. As far as I can tell this wasn't playmakers fault, it was a unity thing. Playmaker just forwarded the error kind of.
-
Old thread but I had the same issue on some 3rd part assets.
You'll get this warning if you have a convex MeshCollider that's using a mesh with more than 255 polys.
You might try un-convexing and re-convexing any affected colliders - I've found that Unity sometimes doesn't correctly rebuild convex colliders when source data changes.
http://forum.unity3d.com/threads/212318-The-hull-has-more-than-255-polygons