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

Bug in StartPathFind() when building not present #840

Closed
originalfoo opened this issue Apr 13, 2020 · 0 comments · Fixed by #834
Closed

Bug in StartPathFind() when building not present #840

originalfoo opened this issue Apr 13, 2020 · 0 comments · Fixed by #834
Assignees
Labels
BUG Defect detected confirmed Represents confirmed issue or bug PATHFINDER Pathfinding tweaks or issues
Milestone

Comments

@originalfoo
Copy link
Member

originalfoo commented Apr 13, 2020

This issue was reported by ninja in #825 (but wasn't specifically related to that issue hence opening this one).

Error: System.NullReferenceException: Object reference not set to an instance of an object
at TrafficManager.Manager.Impl.ExtCitizenInstanceManager.StartPathFind (uint16,CitizenInstance+,TrafficManager.API.Traffic.Data.ExtCitizenInstance+,TrafficManager.API.Traffic.Data.ExtCitizen+,UnityEngine.Vector3,UnityEngine.Vector3,VehicleInfo,bool,bool) <0x00c16>
at TrafficManager.Custom.AI.CustomCitizenAI.CustomStartPathFind 

References to more info:

krzychu narrowed down the problem:
debugger

And specified a fix in #834 (review)

@originalfoo originalfoo added BUG Defect detected confirmed Represents confirmed issue or bug PATHFINDER Pathfinding tweaks or issues labels Apr 13, 2020
@originalfoo originalfoo self-assigned this Apr 13, 2020
@originalfoo originalfoo added this to the 11.3.2 milestone Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Defect detected confirmed Represents confirmed issue or bug PATHFINDER Pathfinding tweaks or issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant