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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

"Renderer 'AmericanElmLOD1' is registered with more than one LODGroup"

Discussion in 'Editor & General Support' started by Dreamback, Dec 19, 2017.

  1. Dreamback

    Dreamback

    Joined:
    Jul 29, 2016
    Posts:
    220
    What exactly does this warning mean, and how can we fix it, or at least supress it? The warning happens on every Speedtree in our scene when we SetActive the gameobject, so where the warning points to is not where the problem is. We are getting hundreds of these warnings, and since they are being written to the log file on disk, they are affecting our framerate.
     
  2. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    52
    January 2021. Still no F***ing answer.
     
    gabrielmukobi and MCLiving88 like this.
  3. toriakai

    toriakai

    Joined:
    Dec 15, 2016
    Posts:
    4
    Ok I may have somewhat figured it out. Apparently, when, in a scene, you duplicate an object that has an LOD Group associated, the duplicated object keeps a reference to the new object (I don't know how or why). But deleting and re-adding all the LOD Groups components fixed the warnings for me.
     
  4. harleydk

    harleydk

    Joined:
    Jul 30, 2012
    Posts:
    41
    Thanks @toriakai , led me on the right path here. For my purposes, I had to do the following:

    1 - saved the LOD-group settings to a preset (the icon to the right of the little '(?)' icon in the component header), so I could quickly re-establish those settings
    2 - remove the LOD Group component on the affected gameobject. This marked the component as 'removed'
    3 - Add a new LOD-group component, now there's two.
    4 - apply the preset to the new LOD-group, thus recreating the settings
    5 - on the old LOD-group component, right-click and select 'removed component->Revert'. Strangely, this will delete this removed component and leave the new one behind.

    And then the errors went away for me. HTH others.
     
    toriakai likes this.