Hello Guest

Author Topic: Tilemap mesh needs normals for unity 5.6  (Read 4519 times)

JackMariani

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 3
    • View Profile
Tilemap mesh needs normals for unity 5.6
« on: April 04, 2017, 04:44:44 pm »
I've just updated unity version to 5.6 and I keep receiving the following message from the console.

"Mesh doesn't have normals. Please create some for GI."

I'm using a tile map and if I delete it from the scene the message stops.

Still this message keeps repeating indefinitely without any stop so I can't use the console properly.

I would ask you to give it a look.

Thank you very much!

PS: it is probably unrelated but my tilemap keeps creating empty gameobject called "Prefabs" when I load the scene.
« Last Edit: April 04, 2017, 04:47:16 pm by JackMariani »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Tilemap mesh needs normals for unity 5.6
« Reply #1 on: April 06, 2017, 11:38:53 pm »
Hi there,

Trying to figure out why this is, I cant reproduce it - are you using dynamic lighting or a lit shader on the tilemap? If so, make sure generate normals is ticked in the sprite collection and rebuild (edit & commit), that will generate the normals its complaining about.

If you're not using lighting, the other thing you could do is disable lighting in the unity lighting window.


JackMariani

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Tilemap mesh needs normals for unity 5.6
« Reply #2 on: April 07, 2017, 10:22:02 am »
Thanks! Disabling global illumination worked just fine.