Search Unity

SendMessage cannot be called during Awake, CheckConsistency, or OnValidate (mesh: OnMeshFilterChange

Discussion in 'Scripting' started by ARGHIB, Jan 17, 2022.

  1. ARGHIB

    ARGHIB

    Joined:
    May 10, 2020
    Posts:
    1
    Hello,
    I'm here because i meet a problem with my program, I've take a program who create a sphere with differents parts as you can see, and the problem is that the material texture are not showed well, it should be grass but there we just see a green side.
    in the second image we see that the grass are showed very well, but that only work on a other game object, like an normal sphere, a cube or a terrain.
    I've put some images and the codes of my problematic game object.

    Thanks by advance.
     

    Attached Files: