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 Bake lighting to objects that have already been "Combined"

Discussion in 'Global Illumination' started by volx4slayer, Oct 4, 2022.

  1. volx4slayer

    volx4slayer

    Joined:
    Aug 11, 2020
    Posts:
    2
    Working with some old assets imported from 2018 Unity, trouble is all my meshes are "Combined Meshs" to my scene and I don't have the original project files. I've loaded the old scene and it exported/loads in the editor fine but trying to bake lights gives me this error: I am using URP.

    upload_2022-10-4_23-44-9.png

    The combined meshs is attached to 100's of objects in the scene, is there anyway I can either simply bake lighting to my scene or split the combined mesh into sub-meshes while keeping them on referenced everywhere in the scene.
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    If you've already combined meshes using a script or a third-party plugin, then without references to the original files, I don't think that splitting them is possible.
    In your case, it would probably make the most sense to stick with the 2018 LTS for this particular project.
     
  3. volx4slayer

    volx4slayer

    Joined:
    Aug 11, 2020
    Posts:
    2
    Sadly not an option, can you bring in the cache of baked lights from a previous project to a new one? (Baked in 2018)
     
  4. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    That might be tricky. Last year, we integrated our unwrapping algorithm natively so that it would not rely on a third-party library. This meant that upon project upgrade you'd need to rebake your lights. This obviously does not help you in your case...