View Issue Details

IDProjectCategoryLast Update
0017195Stars Beyond ReachBug - OtherJun 15, 2015 3:21 pm
ReporterCinth Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.877 (Citybuilding Smoothness) 
Fixed in Version0.890 (Overhaul to Territories) 
Summary0017195: Nul Ref 5
DescriptionCouldn't get a repro on this one. Happened during a combat exchange the AI was doing and I couldn't get it to happen again. Save is turn error popped.


6/8/2015 12:55:54 PM (0.877) Mem: 263,323,648 Mode: SinglePlayerOrMultiplayerHost Plat:WindowsPlayer
-----------------------------------NullReferenceException-----------------------------------
Object reference not set to an instance of an object

  at AttackRenderActor.UpdateNonSim (Single effectiveDeltaTime) [0x00000] in <filename unknown>:0
  at AttackRenderingData.UpdateNonSim (Single effectiveDeltaTime) [0x00000] in <filename unknown>:0
  at AttackRendering.UpdateNonSim (Single effectiveDeltaTime) [0x00000] in <filename unknown>:0
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0
  at Game.DrawGame () [0x00000] in <filename unknown>:0
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0
TagsNo tags attached.

Relationships

has duplicate 0017102 resolvedkeith.lamothe nul ref 3 

Activities

Cinth

Jun 8, 2015 4:34 pm

manager  

awesome start nul.save (1,000,529 bytes)

keith.lamothe

Jun 8, 2015 8:47 pm

administrator   ~0042112

Last edited: Jun 8, 2015 8:48 pm

Yea, I can't get this to reproduce either. If you can get it to do so, let me know.

The log message tells me the error happened in "AttackRenderActor.UpdateNonSim()" but that's a big method, tons of possible places where the null could be.

Line numbers in error messages from consumer-facing builds is the # 1 thing I miss from before the switch to Unity...

Cinth

Jun 8, 2015 8:51 pm

manager   ~0042117

I tried a couple times, but recreating something that happened exactly is pretty hard with all the variables that can change in each play.

ptarth

Jun 9, 2015 2:31 pm

reporter   ~0042141

You could just give us all dev builds ;)

jerith

Jun 9, 2015 3:00 pm

reporter   ~0042142

And the code. Then we could help fix the bugs. :-P

keith.lamothe

Jun 10, 2015 9:30 am

administrator   ~0042177

I'd give you dev builds if I could, but even I don't get line numbers reliably outside the Unity Editor.

Cinth

Jun 10, 2015 3:48 pm

manager   ~0042183

Ugh, no. I don't want to do bug hunting any deeper than I am (keep code away from me).

ptarth

Jun 10, 2015 5:11 pm

reporter   ~0042187

He's kidding. Just ship us dev licenses of Unity (I don't think the free version has everything in it, but I might be wrong about that. I know they really opened it up recently) and the source code. In a few days you'll have tons of people who don't know how to commit code destroying everything. What's not to love?

Cinth

Jun 10, 2015 5:20 pm

manager   ~0042188

Lol. You like to play with fire don't you?

jerith

Jun 10, 2015 6:06 pm

reporter   ~0042190

Fire is merely chemistry. *We* play with *physics*!

Cinth

Jun 10, 2015 6:13 pm

manager   ~0042191

Last edited: Jun 10, 2015 6:13 pm

Yep, fire is a living, breathing, exothermic chemical reaction. Unless I was referring to a metaphoric fire.

Chris_McElligottPark

Jun 15, 2015 11:19 am

administrator   ~0042215

Thanks!

* Fixed a bug where particle effects that were spawned on threads other than the main thread could cause index out of range exceptions or nullref exceptions during combat in particular.

Cinth

Jun 15, 2015 12:52 pm

manager   ~0042216

Props on figuring it out!

Chris_McElligottPark

Jun 15, 2015 3:16 pm

administrator   ~0042222

That was Keith -- he had a random occurrence of it when he was testing something else, and that time it had line numbers since he was in the editor. :)

Cinth

Jun 15, 2015 3:19 pm

manager   ~0042223

That's how some of these seem to be... very random.

Chris_McElligottPark

Jun 15, 2015 3:21 pm

administrator   ~0042224

Multithreading!

You have a crowd of very small people running around a very large space, and sometimes two hit each other and pandemonium breaks out.

Issue History

Date Modified Username Field Change
Jun 8, 2015 4:30 pm Cinth New Issue
Jun 8, 2015 4:34 pm Cinth File Added: awesome start nul.save
Jun 8, 2015 4:34 pm Cinth Description Updated
Jun 8, 2015 8:22 pm Chris_McElligottPark Assigned To => keith.lamothe
Jun 8, 2015 8:22 pm Chris_McElligottPark Status new => assigned
Jun 8, 2015 8:47 pm keith.lamothe Note Added: 0042112
Jun 8, 2015 8:47 pm keith.lamothe Status assigned => feedback
Jun 8, 2015 8:48 pm keith.lamothe Note Edited: 0042112
Jun 8, 2015 8:51 pm Cinth Note Added: 0042117
Jun 8, 2015 8:51 pm Cinth Status feedback => assigned
Jun 9, 2015 11:42 am keith.lamothe Status assigned => feedback
Jun 9, 2015 2:31 pm ptarth Note Added: 0042141
Jun 9, 2015 3:00 pm jerith Note Added: 0042142
Jun 9, 2015 8:04 pm Chris_McElligottPark Relationship added has duplicate 0017102
Jun 10, 2015 9:30 am keith.lamothe Note Added: 0042177
Jun 10, 2015 3:48 pm Cinth Note Added: 0042183
Jun 10, 2015 3:48 pm Cinth Status feedback => assigned
Jun 10, 2015 5:11 pm ptarth Note Added: 0042187
Jun 10, 2015 5:20 pm Cinth Note Added: 0042188
Jun 10, 2015 6:06 pm jerith Note Added: 0042190
Jun 10, 2015 6:13 pm Cinth Note Added: 0042191
Jun 10, 2015 6:13 pm Cinth Note Edited: 0042191
Jun 15, 2015 11:19 am Chris_McElligottPark Note Added: 0042215
Jun 15, 2015 11:19 am Chris_McElligottPark Status assigned => resolved
Jun 15, 2015 11:19 am Chris_McElligottPark Fixed in Version => 0.890 (Overhaul to Territories)
Jun 15, 2015 11:19 am Chris_McElligottPark Resolution open => fixed
Jun 15, 2015 12:52 pm Cinth Note Added: 0042216
Jun 15, 2015 3:16 pm Chris_McElligottPark Note Added: 0042222
Jun 15, 2015 3:19 pm Cinth Note Added: 0042223
Jun 15, 2015 3:21 pm Chris_McElligottPark Note Added: 0042224