View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0023127 | AI War 2 | Bug - Gameplay | Apr 11, 2020 11:54 am | Apr 13, 2020 4:09 pm | |
Reporter | Endovior | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 2.024 UI Focus Hotfix | ||||
Fixed in Version | 2.025 The Twenty Million Problem | ||||
Summary | 0023127: Exception: Can't generate Caret | ||||
Description | Not quite sure what caused this error. I'd just attacked a Relic Train, and brought home the relevant Relic, building a new city; there was a pretty big fight on a particular planet at one point, and I called in the Democratic Demolitionists and Prufrock's Partisans to help. They stuck around on that planet after the Relic (and the rolling fight) left. Immediately AFTER the city was built, the AI sent its *entire* Praetorian Guard to the planet that the fight happened at to beat up the surviving mercenary ships and turrets. I went to take a look at that fight, and got an error popup. This behaviour is weird enough to plausibly count as a bug, but the error popup definitely indicates that something's going wrong here. Screenshot and error log attached. | ||||
Tags | No tags attached. | ||||
|
|
|
----------- NullReferenceException: Object reference not set to an instance of an object Stack Trace: TMPro.TMP_InputField.GenerateCaret (UnityEngine.UI.VertexHelper vbo, UnityEngine.Vector2 roundingOffset) (at <======<52e468c42ac44926b8a43db84bff40f6>:0) TMPro.TMP_InputField.OnFillVBO (UnityEngine.Mesh vbo) (at <52e468c42ac44926b8a43db84bff40f6>:0) TMPro.TMP_InputField.UpdateGeometry () (at <52e468c42ac44926b8a43db84bff40f6>:0) TMPro.TMP_InputField.Rebuild (UnityEngine.UI.CanvasUpdate update) (at <52e468c42ac44926b8a43db84bff40f6>:0) UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () (at <9bb8f6e40006490da4518a3cf5afe42e>:0) UnityEngine.Canvas:SendWillRenderCanvases() and then 4/11/2020 11:40:23 AM DoShotMovement: Error at debug stage 3200 System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.ExternalVisualization.ShotVisualizer.TryUpdatingTargetPoint () [0x000b9] in <3f604609c95648a49d7a20a2d345a04b>:0 at Arcen.AIW2.ExternalVisualization.ShotVisualizer.SetLocationBasedOnComplicatedStuff () [0x001d1] in <3f604609c95648a49d7a20a2d345a04b>:0 at Arcen.AIW2.ExternalVisualization.ShotVisualizer.UpdateShotViaLerpToCurrentTarget (System.Single DeltaTime, System.Boolean DrawDebugData) [0x00095] in <3f604609c95648a49d7a20a2d345a04b>:0 at Arcen.AIW2.ExternalVisualization.ShotVisualizer.DoShotMovement (System.Boolean DrawDebugData) [0x00363] in <3f604609c95648a49d7a20a2d345a04b>:0 I note there's a problem with the Carets, which is probably a typo. Are you perhaps Bugs Bunny? |
|
I've renamed this bug for ease of finding it later. Chris, I've seen this a couple times while doing generic development work, though I was missing your most recent few checkins when I saw it. |
|
Is the input field error a new one that folks are seeing? What OS are you on? I've never seen that before. For the other one, I've put in some more defensive code that should solve that one in 2.025. Thanks! |
|
I hit the Caret exception on Linux, Endovior is on Windows. |
|
Got it -- thanks! * Put in a fix that ignores an exception in GenerateCaret() for text mesh pro when we disabled a canvas. This has only been popping up recently for whatever reason, but should now just ignore the problem and keep moving when the canvas is next showed. |
Date Modified | Username | Field | Change |
---|---|---|---|
Apr 11, 2020 11:54 am | Endovior | New Issue | |
Apr 11, 2020 11:54 am | Endovior | File Added: ArcenDebugLog.txt | |
Apr 11, 2020 11:54 am | Endovior | File Added: Error.png | |
Apr 11, 2020 12:40 pm | BadgerBadger | Note Added: 0056787 | |
Apr 13, 2020 2:02 am | BadgerBadger | Summary | Outguard / Praetorian Guard Error? => Exception: Can't generate Caret |
Apr 13, 2020 2:02 am | BadgerBadger | Description Updated | |
Apr 13, 2020 2:02 am | BadgerBadger | Note Added: 0056797 | |
Apr 13, 2020 2:05 am | BadgerBadger | Note Edited: 0056797 | |
Apr 13, 2020 3:47 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Apr 13, 2020 3:47 pm | Chris_McElligottPark | Status | new => feedback |
Apr 13, 2020 3:47 pm | Chris_McElligottPark | Note Added: 0056820 | |
Apr 13, 2020 3:48 pm | BadgerBadger | Note Added: 0056821 | |
Apr 13, 2020 3:49 pm | BadgerBadger | Note Edited: 0056821 | |
Apr 13, 2020 4:09 pm | Chris_McElligottPark | Status | feedback => resolved |
Apr 13, 2020 4:09 pm | Chris_McElligottPark | Resolution | open => fixed |
Apr 13, 2020 4:09 pm | Chris_McElligottPark | Fixed in Version | => 2.025 The Twenty Million Problem |
Apr 13, 2020 4:09 pm | Chris_McElligottPark | Note Added: 0056824 |