Water Engine errors (water_component.lua:794)

65587a68-1432-11e5-a0eb-bcee7be140d8

develop-3010 (x64)
…arth/services/server/hydrology/hydrology_service.lua:445: assertion failed!
stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function ‘assert’
…arth/services/server/hydrology/hydrology_service.lua:445: in function ‘create_water_body_with_region’
stonehearth/components/water/water_component.lua:904: in function ‘_lower_layer’
stonehearth/components/water/water_component.lua:788: in function ‘_remove_height’
stonehearth/components/water/water_component.lua:261: in function ‘_remove_water’
stonehearth/components/water/water_component.lua:473: in function ‘fill_channel_from_water_region’
…hearth/services/server/hydrology/channel_manager.lua:561: in function ‘callback_fn’
…hearth/services/server/hydrology/channel_manager.lua:194: in function ‘each_channel_ascending’
…hearth/services/server/hydrology/channel_manager.lua:559: in function ‘fill_channels_to_capacity’

radiant/controllers/time_tracker_controller.lua:82: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:379: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:37: in function ‘instance’
radiant/modules/events.lua:206: in function <radiant/modules/events.lua:200>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
radiant/modules/events.lua:200: in function ‘trigger’
radiant/modules/events.lua:269: in function ‘_trigger_gameloop’
radiant/modules/events.lua:320: in function ‘_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

develop-3010 (x64)
@stonehearth/services/server/hydrology/hydrology_service.lua:305: water transients not yet implemented
stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:456: in function ‘verify’
…arth/services/server/hydrology/hydrology_service.lua:305: in function ‘_link_channels_for_block’
…arth/services/server/hydrology/hydrology_service.lua:247: in function ‘_link_blocks’
…arth/services/server/hydrology/hydrology_service.lua:222: in function ‘_on_terrain_changed’
…arth/services/server/hydrology/hydrology_service.lua:92: in function <…arth/services/server/hydrology/hydrology_service.lua:91>

develop-3010 (x64)
stonehearth/components/water/water_component.lua:794: assertion failed!
stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function ‘assert’
stonehearth/components/water/water_component.lua:794: in function ‘_remove_height’
stonehearth/components/water/water_component.lua:261: in function ‘_remove_water’
stonehearth/components/water/water_component.lua:473: in function ‘fill_channel_from_water_region’
…hearth/services/server/hydrology/channel_manager.lua:561: in function ‘callback_fn’
…hearth/services/server/hydrology/channel_manager.lua:194: in function ‘each_channel_ascending’
…hearth/services/server/hydrology/channel_manager.lua:559: in function ‘fill_channels_to_capacity’
…arth/services/server/hydrology/hydrology_service.lua:742: in function ‘_on_tick’
…arth/services/server/hydrology/hydrology_service.lua:52: in function ‘fn’

radiant/controllers/time_tracker_controller.lua:82: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:379: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:37: in function ‘instance’
radiant/modules/events.lua:206: in function <radiant/modules/events.lua:200>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
radiant/modules/events.lua:200: in function ‘trigger’
radiant/modules/events.lua:269: in function ‘_trigger_gameloop’
radiant/modules/events.lua:320: in function ‘_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

1 Like

On load I get this error

develop-3010 (x64)
stonehearth/components/water/water_component.lua:794: assertion failed!
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function 'assert’
stonehearth/components/water/water_component.lua:794: in function '_remove_height’
stonehearth/components/water/water_component.lua:261: in function '_remove_water’
stonehearth/components/water/water_component.lua:473: in function ‘fill_channel_from_water_region’
…hearth/services/server/hydrology/channel_manager.lua:561: in function ‘callback_fn’
…hearth/services/server/hydrology/channel_manager.lua:194: in function ‘each_channel_ascending’
…hearth/services/server/hydrology/channel_manager.lua:559: in function ‘fill_channels_to_capacity’
…arth/services/server/hydrology/hydrology_service.lua:742: in function ‘_on_tick’
…arth/services/server/hydrology/hydrology_service.lua:52: in function ‘fn’

radiant/controllers/time_tracker_controller.lua:82: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:379: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:37: in function 'instance’
radiant/modules/events.lua:206: in function <radiant/modules/events.lua:200>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
radiant/modules/events.lua:200: in function 'trigger’
radiant/modules/events.lua:269: in function '_trigger_gameloop’
radiant/modules/events.lua:320: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

1 Like

Summary:
Hi all, Its a simple thing: Selected an area next to a lake to dig it out, when a section that was dug into a pit and then dug out so water could get to it, it produced the following error. I wasn’t intending to dig a pit, i just selected a large enough area that they randomly decided to dig a particular spot away from the water.

release-663 (x64)
stonehearth/components/water/water_component.lua:794: assertion failed!
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function 'assert’
stonehearth/components/water/water_component.lua:794: in function '_remove_height’
stonehearth/components/water/water_component.lua:261: in function '_remove_water’
stonehearth/components/water/water_component.lua:473: in function ‘fill_channel_from_water_region’
…hearth/services/server/hydrology/channel_manager.lua:561: in function ‘callback_fn’
…hearth/services/server/hydrology/channel_manager.lua:194: in function ‘each_channel_ascending’
…hearth/services/server/hydrology/channel_manager.lua:559: in function ‘fill_channels_to_capacity’
…arth/services/server/hydrology/hydrology_service.lua:768: in function ‘_on_tick’
…arth/services/server/hydrology/hydrology_service.lua:52: in function ‘fn’

radiant/controllers/time_tracker_controller.lua:82: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:379: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:37: in function 'instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
radiant/modules/events.lua:285: in function 'trigger’
radiant/modules/events.lua:398: in function '_trigger_gameloop’
radiant/modules/events.lua:446: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

Steps to reproduce:

  1. Select an area to mine out. Or dig a pit deeper than water level.
  2. Ensure there is no water in the pit, until deep enough.
  3. Dig out the floodgates and let the water “flow”…

Expected Results:

Error Pop up

Version Number and Mods in use:

release-663 (x64)
No mods

System Information:

Windows 10 x64
AMD FX 9590 @ Asus Formula Z ROG Motherboard
32GB RAM
Asus R9 280 Graphics card.
WD SSD.

1 Like

Hey there @Tom_Reevers_Reeverda, welcome to the Discourse :smiley:!

Thank you so much for your detailed bug report - we really appreciate it when we get all the details right off the bat. Looks like this error has been spotted before, so I merged your post here.

attempted to dig a moat around my town and got this error. hope this helps:

release-687 (x64)[M]
stonehearth/components/water/water_component.lua:794: assertion failed!
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function 'assert’
stonehearth/components/water/water_component.lua:794: in function '_remove_height’
stonehearth/components/water/water_component.lua:261: in function '_remove_water’
stonehearth/components/water/water_component.lua:473: in function ‘fill_channel_from_water_region’
…hearth/services/server/hydrology/channel_manager.lua:561: in function ‘callback_fn’
…hearth/services/server/hydrology/channel_manager.lua:194: in function ‘each_channel_ascending’
…hearth/services/server/hydrology/channel_manager.lua:559: in function ‘fill_channels_to_capacity’
…arth/services/server/hydrology/hydrology_service.lua:768: in function ‘_on_tick’
…arth/services/server/hydrology/hydrology_service.lua:52: in function ‘fn’

radiant/controllers/time_tracker_controller.lua:82: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:379: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:37: in function 'instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
radiant/modules/events.lua:285: in function 'trigger’
radiant/modules/events.lua:398: in function '_trigger_gameloop’
radiant/modules/events.lua:446: in function '_update’
radiant/server.lua:61: in function <radiant/server.lua:58>

1 Like

Dug a trench and then joined this to a lake, error report appeared

Steps to reproduce:

  1. Dig trench (tunnel)
  2. Join to body of water

Expected Results:
Trench to completely fill with water

Actual Results:
A few blocks filled with water and then I got an error report (see notes)


Notes:

Error message below:

release-687 (x64)
stonehearth/components/water/water_component.lua:794: assertion failed!
stack traceback:
	radiant/modules/common.lua:237: in function 'report_traceback'
	radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
	[C]: in function 'assert'
	stonehearth/components/water/water_component.lua:794: in function '_remove_height'
	stonehearth/components/water/water_component.lua:261: in function '_remove_water'
	stonehearth/components/water/water_component.lua:473: in function 'fill_channel_from_water_region'
	...hearth/services/server/hydrology/channel_manager.lua:561: in function 'callback_fn'
	...hearth/services/server/hydrology/channel_manager.lua:194: in function 'each_channel_ascending'
	...hearth/services/server/hydrology/channel_manager.lua:559: in function 'fill_channels_to_capacity'
	...arth/services/server/hydrology/hydrology_service.lua:768: in function '_on_tick'
	...arth/services/server/hydrology/hydrology_service.lua:52: in function 'fn'
	...
	radiant/controllers/time_tracker_controller.lua:82: in function 'set_now'
	...hearth/services/server/calendar/calendar_service.lua:379: in function '_on_event_loop'
	...hearth/services/server/calendar/calendar_service.lua:37: in function 'instance'
	radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	radiant/modules/events.lua:285: in function 'trigger'
	radiant/modules/events.lua:398: in function '_trigger_gameloop'
	radiant/modules/events.lua:446: in function '_update'
	radiant/server.lua:61: in function <radiant/server.lua:58>

Attachments:


Version Number and Mods in use:

Version: Steam Alpha 19 release-687
No Mods

Can confirm this is still an issue in Alpha 21. Playing as Rayya’s Children, dug a trench and connected to a body of water. It starts to flow but then ultimately fails. Some bubble effects appear. Popup with error below:

release-702 (x64)
stonehearth/components/water/water_component.lua:794: assertion failed!
stack traceback:
radiant/modules/common.lua:245: in function ‘report_traceback’
radiant/modules/common.lua:256: in function <radiant/modules/common.lua:250>
[C]: in function ‘assert’
stonehearth/components/water/water_component.lua:794: in function ‘_remove_height’
stonehearth/components/water/water_component.lua:261: in function ‘_remove_water’
stonehearth/components/water/water_component.lua:473: in function ‘fill_channel_from_water_region’
…hearth/services/server/hydrology/channel_manager.lua:561: in function ‘callback_fn’
…hearth/services/server/hydrology/channel_manager.lua:194: in function ‘each_channel_ascending’
…hearth/services/server/hydrology/channel_manager.lua:559: in function ‘fill_channels_to_capacity’
…arth/services/server/hydrology/hydrology_service.lua:768: in function ‘_on_tick’
…arth/services/server/hydrology/hydrology_service.lua:52: in function ‘fn’

radiant/controllers/time_tracker_controller.lua:84: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:417: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:46: in function ‘instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function ‘xpcall’
radiant/modules/common.lua:265: in function ‘xpcall’
radiant/modules/events.lua:285: in function ‘trigger’
radiant/modules/events.lua:398: in function ‘_trigger_gameloop’
radiant/modules/events.lua:446: in function ‘_update’
radiant/server.lua:61: in function <radiant/server.lua:58>

Hey there, I see this is not the first time, but it is still happening.

release-737 (x64)
stonehearth/components/water/water_component.lua:794: assertion failed!
stack traceback:
radiant/modules/common.lua:245: in function ‘report_traceback’
radiant/modules/common.lua:256: in function <radiant/modules/common.lua:250>
[C]: in function ‘assert’
stonehearth/components/water/water_component.lua:794: in function ‘_remove_height’
stonehearth/components/water/water_component.lua:261: in function ‘_remove_water’
stonehearth/components/water/water_component.lua:473: in function ‘fill_channel_from_water_region’
…hearth/services/server/hydrology/channel_manager.lua:561: in function ‘callback_fn’
…hearth/services/server/hydrology/channel_manager.lua:194: in function ‘each_channel_ascending’
…hearth/services/server/hydrology/channel_manager.lua:559: in function ‘fill_channels_to_capacity’
…arth/services/server/hydrology/hydrology_service.lua:768: in function ‘_on_tick’
…arth/services/server/hydrology/hydrology_service.lua:52: in function ‘fn’

radiant/controllers/time_tracker_controller.lua:84: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:421: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:46: in function ‘instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function ‘xpcall’
radiant/modules/common.lua:265: in function ‘xpcall’
radiant/modules/events.lua:285: in function ‘trigger’
radiant/modules/events.lua:398: in function ‘_trigger_gameloop’
radiant/modules/events.lua:446: in function ‘_update’
radiant/server.lua:61: in function <radiant/server.lua:58>

And as for info my system is almost identical to Tom_Reevers_Reeverda above, except the motherboard. Also, just running vanilla.

Please everyone messing around with water: it does NOT work correctly yet. The devs are still working on it.

Posting your bugs and your save files will help the devs in their work, but don’t expect it to be fixed right now. :merry:

im trying to use the debug tool to add water to my map but all i get when i do is the below.

Not sure if im missing something but it don’t seem to work for me, both with and without iconic on and off, waterfall works but water don’t.

Sorry to be a pain at the same time.

release-875 (x64)[M]
stonehearth/renderers/water/water_renderer.lua:62: attempt to index field ‘region’ (a nil value)
stack traceback:
[C]: ?
stonehearth/renderers/water/water_renderer.lua:62: in function ‘_update’
stonehearth/renderers/water/water_renderer.lua:18: in function <stonehearth/renderers/water/water_renderer.lua:17>
[C]: in function ‘push_object_state’
stonehearth/renderers/water/water_renderer.lua:21: in function <stonehearth/renderers/water/water_renderer.lua:10>

this is what i get