- Home /
When i instantiate my prefabs programmatically they lose the lighting form them... How can i assign the lighting on the prefab through script using the renderer component ? Currently when i access my prefabs lightmapIndex its -1.
Prefab Lighting issues when i instantiate them from code
Comment
Your answer
