playMaker

Author Topic: [Solved] The Hull Has more than 255 polygons.  (Read 5102 times)

SolsActual

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
[Solved] The Hull Has more than 255 polygons.
« on: June 07, 2013, 02: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!

Code: [Select]
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()
« Last Edit: June 07, 2013, 08:31:25 PM by SolsActual »

SolsActual

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: The Hull Has more than 255 polygons.
« Reply #1 on: June 07, 2013, 08:30:28 PM »
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.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2488
  • Yup.
    • View Profile
    • Cleverous
Re: [Solved] The Hull Has more than 255 polygons.
« Reply #2 on: December 10, 2013, 07:50:21 AM »
Old thread but I had the same issue on some 3rd part assets.

Quote from: superpig;1430016
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