Thnxz for the repleys,
I have created an empy project to see what i was doing wrong. It worked prerfectly, so there's a little bug in my own code smewhere...
[Edit] I have succesfully removed the bug
@alexondr
Lightmaps are created when I load the map or when I call the function Create Lightmaps in my editor ...so I create them once...
Bookmarks