I’ve been trying to implement a new biome with some new trees. However, when I tried adding the custom trees, I got this error on the map screen:
Error
release-843 (x64)[M]
...arth/services/server/world_generation/landscaper.lua:452: attempt to index local 'size_data' (a nil value)
stack traceback:
[C]: ?
...arth/services/server/world_generation/landscaper.lua:452: in function '_get_tree_size'
...arth/services/server/world_generation/landscaper.lua:430: in function 'mark_trees'
...server/world_generation/world_generation_service.lua:157: in function 'fn'
...onehearth/services/server/world_generation/timer.lua:13: in function 'measure'
...server/world_generation/world_generation_service.lua:140: in function 'set_blueprint'
...vices/server/game_creation/game_creation_service.lua:157: in function 'create_new_world'
...vices/server/game_creation/game_creation_service.lua:178: in function
<...vices/server/game_creation/game_creation_service.lua:162>
Here’s my .smod file for reference:
ems_biome_rckymtns.smod (40.7 KB)
I’m pretty new to modding, so I’m probably missing something obvious, but the error isn’t really helpful except that it seems to be pointing to tree size. As far as I can tell, my tree sizes section in the biome generation is fine, though…
Also, I have put my file through JSONLint, and it came out without any errors, so it’s not that.