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

Bug (IN-56116) [1.1.0-exp.1] RenderMeshArray still collect materials and meshes that is not exist

Discussion in 'Graphics for ECS' started by optimise, Aug 7, 2023.

  1. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,068
    I found that attaching BakingOnlyEntityAuthoring able to make game object authoring not bake into entity but RenderMeshArray still collect materials and meshes which is not the expected behavior. Supposedly RenderMeshArray should not contain any materials and meshes that is not exists at any entity.
     
  2. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,068
    Hi @JussiKnuuttila. Can u make sure this will be fixed at next release? I have workflow that need to keep the corresponding game objects at authoring but will be removed after finish baking using BakingOnlyEntityAuthoring.
     
  3. JussiKnuuttila

    JussiKnuuttila

    Unity Technologies

    Joined:
    Jun 7, 2019
    Posts:
    335
    I can't give guarantees as to which release the fix will make it in, but we'll take a look at the issue.
     
    optimise likes this.
  4. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,068
    Btw u can have a look at CASE IN-56116 if u need a repro project