Diagnostic code · ARA3602
Invalid 2D physics command
A physics2d.set or tilemap.colliders.generate request cannot produce valid physics authoring data. The command transaction is rejected, including any staged replacement of generated colliders.
Common causes
- The request does not provide exactly
bodypluscollider, or exactlycharacter. - Pose, mass, collider geometry/material/layer or capsule controller settings fail validation.
- Collider generation targets a prefab address or missing tilemap, or supplies a nonfinite origin or singular basis.
Fixes
Resubmit
physics2d.setwith one valid role:bodyandcollider, orcharacter, plus a finite pose.Correct the reported dimensions and material values; polygon colliders need
3..64finite points forming a nondegenerate hull, and character height must exceed twice its positive radius.Run
tilemap.colliders.generateon a plain tilemap entity with a finite origin and invertible basis; generate prefab colliders in the prefab's source document.Code:
ARA3602Constant:
physics2d::COMMANDReported by: ara-physics2d