Random crash when engulfing a lot as a colony

Just crashed out of 0.6.4. Was engulfing several cells as a 4-cell colony. Nothing about the circumstances stands out, it worked fine just before.

Log: Godot Engine v3.5.stable.mono.thrive.d2ad79a40 - https://godotengine.orgOpenGL - Pastebin.com

1 Like

Most important part of the log:

System.InvalidOperationException: Engulfer trying to eject something when it doesn't even have engulfed objects list
  at Systems.EngulfingSystem.CompleteEjection (Components.Engulfer& engulfer, DefaultEcs.Entity& entity, Components.Engulfable& engulfable, DefaultEcs.Entity& engulfableObject, System.Boolean canMoveToHigherLevelEngulfer) [0x00008] in <059a6e8017b947d18ebf2446d1e30318>:0 
  at Systems.EngulfingSystem.ForceEjectSingleEngulfable (Components.Engulfer& engulfer, DefaultEcs.Entity& entity, DefaultEcs.Entity& toEject) [0x00023] in <059a6e8017b947d18ebf2446d1e30318>:0 
  at Systems.EngulfingSystem.OnEntityDestroyed (DefaultEcs.Entity& entity) [0x00035] in <059a6e8017b947d18ebf2446d1e30318>:0

Funnily enough I ran into the exact same bug at the end of today’s Thrivestream. I don’t know what causes this but I do know of a workaround I can add (in fact I wrote it already but it needs a bit more local testing from me before I’m going to commit and push it to GitHub).

2 Likes