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

Null reference while creature mating #1035

Open
mklingen opened this issue Mar 23, 2019 · 0 comments
Open

Null reference while creature mating #1035

mklingen opened this issue Mar 23, 2019 · 0 comments

Comments

@mklingen
Copy link
Collaborator

https://sentry.io/organizations/cfg/issues/942590102/?project=192119&referrer=github_plugin

NullReferenceException: Object reference not set to an instance of an object.
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Components\AI\CreatureAI.cs", line 184, in get_Position
    Microsoft.Xna.Framework.Vector3 get_Position()
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Components\AI\MateTask.cs", line 62, in ComputeCost
    Single ComputeCost(DwarfCorp.Creature, Boolean)
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Components\AI\CreatureAI.cs", line 296, in GetEasiestTask
    DwarfCorp.Task GetEasiestTask(System.Collections.Generic.List`1[DwarfCorp.Task])
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Components\AI\CreatureAI.cs", line 724, in Update
    Void Update(DwarfCorp.DwarfTime, DwarfCorp.ChunkManager, DwarfCorp.Camera)
  File "C:\Users\matth\Desktop\dwarfcorp\DwarfCorp\DwarfCorpXNA\Components\Systems\ComponentManager.cs", line 247, in Update
    Void Update(DwarfCorp.DwarfTime, DwarfCorp.ChunkManager, DwarfCorp.Camera)
...
(4 additional frame(s) were not displayed)

Object reference not set to an instance of an object.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant