LightmapGI made my project really slow and removing it doesnt help

Godot Version

4.3

Question

`Im new to 3D. I made a small world using GridMap, some meshes and a player. Then as a test I tried to bake lightning using LightmapGI. It worked However this made it so my scene always took 30s+ to open when playing it, so I removed LightmapGI and I removed every file from the project folder that it generated. However, this didnt help. The scene still takes ages to run and also if I restart the project it takes quite a while for the files to be imported.

After some testing I figured the issue is with the GridMap, seems like LightmapGI has done something to it and removing it didnt revert it, so maybe a bug with the engine? The scene file is also really large(280mb) If I remove GridMap from the scene, the project isnt slow anymore.

I dont know what to do. Does anyone have any idea how to fix this issue? I could just remove GridMap and start over of course but the problem is I would have to start building my world from stratch and I dont want to do that. `

You could check in the scene file with a text editor. If there’s some huge object in there that’s from the lightmap, just try deleting that part. Make sure there’s no other resources pointing to it though.

1 Like

I fixed this. I just had to create mesh library again for the gridmap.

1 Like