Search Unity

Invalid IL code

Discussion in 'Entity Component System' started by l33t_P4j33t, Feb 22, 2020.

  1. l33t_P4j33t

    l33t_P4j33t

    Joined:
    Jul 29, 2019
    Posts:
    232
    trying to create a simple character controller with dots by doing collidercast in order to check if the player can move to the new position, but getting invalid il code at runtime

    is there a better approach to this? it would be really handy if unity updated standard assets
     

    Attached Files:

  2. Sarkahn

    Sarkahn

    Joined:
    Jan 9, 2013
    Posts:
    440
  3. l33t_P4j33t

    l33t_P4j33t

    Joined:
    Jul 29, 2019
    Posts:
    232
    ah they just used a capsule collider.. how reusable is the project as a whole? I wish unity would let you chose some extremely basic templates when creating a new unity project, like fps template, multiplayer template etc.

    doing the meshcollider way with job structs gets an UnimplementedMethod exception in console