Unity Package

Changelog

A server-side update identified a problem with the elevation data. This has already been fixed in the latest package version. Alternatively, this can also be done manually if an update is not possible or not wanted (due to personal modifications).

To fix this manually, simply replace the 4 lines from 75 to 78 in the file "Elevation.cs" with the following:

ret.topLeft = _data[index_y][index_x] * CoalaConfig.current.system.ElevationDataScale();

ret.topRight = _data[index_y][index_x+1] * CoalaConfig.current.system.ElevationDataScale();

ret.bottomLeft = _data[index_y+1][index_x] * CoalaConfig.current.system.ElevationDataScale();

ret.bottomRight = _data[index_y+1][index_x+1] * CoalaConfig.current.system.ElevationDataScale();

This is an image of the corrected code: