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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

lightmap : Failed to collect hash files!

Discussion in 'Unity 5 Pre-order Beta' started by botumys, Oct 29, 2014.

  1. botumys

    botumys

    Joined:
    Apr 16, 2009
    Posts:
    707
    When I click on Bake (On demand), unity send me this message:

    Could not create lightmap snapshot asset at 'Assets/test1/LightmapSnapshot.asset'. Failed to collect hash files!

    On iterative mode; I don't see GI in action when I change something in my scene.

    ?

    edit : ok I found the problem..
     
    Last edited: Oct 30, 2014
  2. Torigas

    Torigas

    Joined:
    Jan 1, 2014
    Posts:
    63
    Care to share your solution? I ran into the same problem.
     
  3. Tyrus

    Tyrus

    Joined:
    Nov 6, 2014
    Posts:
    6
    Yeah would also be interested in the solution, because I just encountered the same problem :/
     
  4. Torigas

    Torigas

    Joined:
    Jan 1, 2014
    Posts:
    63
    Found the solution in the new included documentation.
    In your Unity5 folder: Editor/Data/Documentation/html/en/Manual/GlobalIllumination.html
    Simply put, you need deferred lightning for it to work.
     
  5. Tyrus

    Tyrus

    Joined:
    Nov 6, 2014
    Posts:
    6
    That's strange... I had deferred lighting enabled and it worked before. The error occurred after I emptied the GI Cache.
     
  6. botumys

    botumys

    Joined:
    Apr 16, 2009
    Posts:
    707
    The solution for me was just to switch my assets to static :)
     
  7. Tyrus

    Tyrus

    Joined:
    Nov 6, 2014
    Posts:
    6
    Thanks for the reply. Seems to have fixed it :)
     
  8. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    If you have a way of reproducing this, please file a bug.

    Thanks!