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

Question How to access LodRange of a child in order to modify via code? Seems to work via editor at runtime.

Discussion in 'Graphics for ECS' started by muntes, Jul 20, 2023.

  1. muntes

    muntes

    Joined:
    Nov 24, 2021
    Posts:
    16
    Hi, all,

    I have modified the MeshLODGroupComponent value of the parent. However, all instances which were previously added are not actualizing. How could I actualize them?

    In the Unity Editor, I can manually adjust the LodRange, and everything works as I would like at runtime.

    Do I need to regenerate the entities?
    upload_2023-7-20_18-42-48.png
    upload_2023-7-20_18-41-26.png
    upload_2023-7-20_18-42-10.png

    Thanks