Skip to content

[BUG] Heightmap Generator - Crash on Generate when water exists on the map #2

Description

@mrCurry90

Describe the bug - Required
Generating new terrain after water has been present on the map occasionally causes a crash.

Steps To Reproduce - Required

  1. Place water sources on the map, let the sim run for a bit.
  2. Generate a new heightmap using the generator.
  3. When the generation is finished and the sim is unpaused the game crashes with reference to Watersystem.WaterMap.GetColumn()

Expected behavior - Required
No crash

Attachments - Optional

Additional context - Optional
Known workarounds
A: Don't place water until terrain is final.
B: Save map before generating

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions