Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    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,109
    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,109
    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:
    351
    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,109
    Btw u can have a look at CASE IN-56116 if u need a repro project