Search Unity

[Unity 4.3.3f1] Game freezes if lightmap is used

Discussion in 'Android' started by farcry1124, Jan 17, 2014.

  1. farcry1124

    farcry1124

    Joined:
    May 10, 2013
    Posts:
    10
    Hi guys. My game freezes (not crash) if I use lightmap in my game. I removed the lightmap and it works again. I've tested numerous times, it's not memory issue, even if I set my lightmap to mere 32x32 (0.7kb) it still freezes (memory issues usually led to crashes not freezes). I have no idea what's happening. It's only happening on android, works great on iOS and PC. :sad:
     
  2. farcry1124

    farcry1124

    Joined:
    May 10, 2013
    Posts:
    10
    Turns out it's caused by some of the objects in the scene which use "Transparent/Cutout/Diffuse" shader. My bad.
     
  3. Kalan

    Kalan

    Joined:
    Sep 3, 2012
    Posts:
    2
    Hello!
    I have the same exact problem. How did you fix it? I have many semi-transparent objects in my scene and I don't want to remove them. Did marking them as non-static solve the problem?
    Thanks!