Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectDisposedException in microbe AI system GetNearestPreyItem #3569

Closed
hhyyrylainen opened this issue Jul 20, 2022 · 0 comments · Fixed by #4521
Closed

ObjectDisposedException in microbe AI system GetNearestPreyItem #3569

hhyyrylainen opened this issue Jul 20, 2022 · 0 comments · Fixed by #4521

Comments

@hhyyrylainen
Copy link
Member

Excerpt from a crash report log (this shouldn't be related to the crash but just a separate issue):

Removed 33 spawner.
Jukebox now playing from: EarlyMulticellularStage
Resetting growth in a multicellular colony
Microbe AI failure! System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Microbe'.
  at Godot.Object.GetPtr (Godot.Object instance) [0x0001c] in <255400c4320c44b8897009d693c12504>:0 
  at Godot.Spatial.GetGlobalTransform () [0x00000] in <255400c4320c44b8897009d693c12504>:0 
  at Godot.Spatial.get_GlobalTransform () [0x00000] in <255400c4320c44b8897009d693c12504>:0 
  at MicrobeAI.GetNearestPreyItem (System.Collections.Generic.List`1[T] allMicrobes) [0x0000f] in <5208d8567ee64dd29346dd4ccb964802>:0 
  at MicrobeAI.ChooseActions (System.Random random, MicrobeAICommonData data, Microbe signaler) [0x002cb] in <5208d8567ee64dd29346dd4ccb964802>:0 
  at MicrobeAI.Think (System.Single delta, System.Random random, MicrobeAICommonData data) [0x00079] in <5208d8567ee64dd29346dd4ccb964802>:0 
  at Microbe.AIThink (System.Single delta, System.Random random, MicrobeAICommonData data) [0x0002d] in <5208d8567ee64dd29346dd4ccb964802>:0 
Jukebox: starting track: res://assets/sounds/microbe-theme-4.ogg position: 182.3985
Jukebox: starting track: res://assets/sounds/soundeffects/microbe-ambience-3.ogg position: 384.0827
@hhyyrylainen hhyyrylainen added this to Backburner in Thrive Planning via automation Jul 20, 2022
@hhyyrylainen hhyyrylainen moved this from Backburner to High priority bugs / issues in Thrive Planning Jul 20, 2022
@hhyyrylainen hhyyrylainen moved this from High priority bugs / issues to In progress in Thrive Planning Oct 13, 2023
@hhyyrylainen hhyyrylainen added this to the Release 0.6.4 milestone Oct 13, 2023
Thrive Planning automation moved this from In progress to Done Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1 participant