Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

LOD group component is not supported ?

Discussion in 'Editor & General Support' started by snowandball, Sep 29, 2021.

  1. snowandball

    snowandball

    Joined:
    Apr 11, 2019
    Posts:
    22
    I am trying to use mesh for grass for my terrain. The LOD seem to be working when i test in in the scene, but when i try to use it as detail for "Paint Details" i get this message ... What am i doing wrong ?
    Screenshot_1.png
     
  2. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,509
    Terrain details are not rendered as GameObjects with Renderer components. They're batch rendered from the terrain data. I suspect that the error message you're getting is all there is to it. You just can't use LOD Group components on something you're using as a terrain detail object because the terrain rendering system doesn't support them - which makes sense, because it works fundamentally differently.
     
  3. snowandball

    snowandball

    Joined:
    Apr 11, 2019
    Posts:
    22
    So ... how can i scatter grass that is not simply a texture but a mesh ? Can you do it trough the terrain system or i should find some other way ?
     
  4. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,509
    I think you can do it through the terrain system, you just need to not have a LOD Group in there. But I can't give any detail as I've not used that system in quite some time.
     
  5. snowandball

    snowandball

    Joined:
    Apr 11, 2019
    Posts:
    22
    I get the "render component is missing" message when i try a non LOD mesh/prefab.
     
  6. snowandball

    snowandball

    Joined:
    Apr 11, 2019
    Posts:
    22
    The reason i had problems and meshes not appearing was because of the fbx export. Had to uncheck the "input connections" option when i was exporting stuff from maya, and that fixed it.
     
  7. SerKillZ

    SerKillZ

    Joined:
    Sep 23, 2020
    Posts:
    5
    I am having this same issue but with purchased assets
     
  8. steele123451986

    steele123451986

    Joined:
    Aug 15, 2020
    Posts:
    1
    Add your Gameobject inside the Tree tab and create a brush and paint.
     
    Isravel-Innasimuthu and Panickal like this.
  9. Panickal

    Panickal

    Joined:
    Jan 9, 2022
    Posts:
    3
    Worked for me!
     
  10. IllidanS4

    IllidanS4

    Joined:
    Jul 23, 2013
    Posts:
    7
    I still don't understand why this has to be an error. If they are not actually rendered as gameobjects, why isn't the component simply ignored as any other unrelated component?
     
  11. ManieBesselaar

    ManieBesselaar

    Joined:
    Nov 1, 2018
    Posts:
    29
    The answer to this issue is in this video
    around the 1:30 mark.
    Worked for me. Hope this helps.