Search Unity

Resolved Unity gets crushed when I click "Generate LightMap"

Discussion in 'Global Illumination' started by mfatihbarut, Jan 22, 2021.

  1. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,060
    Hi all,
    I am working on Tower Defense template base TD game.
    I added several packages on it including 3d models and effects.
    The thing is when I try to Baked Lighting Map. Unity get crashes.
    I change Unity version from 2019.4 to 2020.2 but problem still exists.
    I bought 32 ram (because I know that cause crushes) (not put in my machine yet though) to solve the problem in hardware level but I am pretty sure that is not the solution.
    What can I do?
    Thank you.
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    There could be several reasons why editor crashes during baking. Please submit a bug as soon as the editor crashes, so that we could investigate.
     
  3. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,060
    Not possbile, project is 120 gb or bigger and unity tries to send nearly whole project as report (probably) because it takes ages and nothing happens when I tried to send bug report.
     
  4. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Correct, that's the default behavior of the in-built bug reporter. However, you can remove your project folder from the Attached files section manually:
    TydxsaGIyr.png
     
  5. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,060
    I ll try next time
     
  6. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,060
    My Case number, in case it's needed
    1308604
     
  7. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,060
    it was a driver issue and with the help of the support team, it solved. (I actually downloaded the driver not from the links but HP Omen web site)
    "
    After investigating this issue it seems that it's caused by igdrclneo64.dll. It appears to be related to the Intel graphics. I've found some possible solutions here:
    1) https://forums.geforce.com/default/...ing-module-name-igdrclneo64-dll/post/5308655/
    2) https://www.reddit.com/r/EtherMining/comments/9vhb97/igdrclneo64dll_error/

    It could be a faulty driver or your PC running on Intel Integrated Graphics. Also, a user mentioned that reinstalling Intel drivers solved their problem. Let us know if it helps!
    "
     
  8. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,876
    Just a tip for RAM usage in baking:
    The RAM amount is just important when you want to bake a very large scene or you want to bake in very high lightmap resolution
    You can see task manager about RAM usage during bake time
    In most cases 16gb is good enough for the most scenes
     
  9. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,060
    In my case 32gb ram and 30 gb SSD page file solved my problem like butter on the bread. And 16gb ram (no God no, I couldn't get rid of consecutive crushes.)
    I recommend 32.