[Bug, PRPL] Another NullReferenceException

Started by planetfall, December 29, 2016, 03:22:08 PM

Previous topic - Next topic

planetfall

Simple enough to reproduce, just let this map run for a while and the main loop will break.

Curiously, the error in the log doesn't seem to relate to PRPL directly, but without any cores on the map it doesn't have this problem.


NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
  at UnitManager.get_gameSpaceX () [0x00000] in <filename unknown>:0
  at UnitManager.GameUpdate () [0x00000] in <filename unknown>:0
  at Projectile.GameUpdate () [0x00000] in <filename unknown>:0
  at CannonShot.GameUpdate () [0x00000] in <filename unknown>:0
  at GameSpace.GameUpdate () [0x00000] in <filename unknown>:0
  at GameSpace.Update () [0x00000] in <filename unknown>:0


system specs

Game version: 64 bit standalone Linux v 1.0.3b2
Computer: Arch Linux desktop, kernel version 4.7.8-1
CPU: AMD FX 4300
GPU: EVGA GeForce GTX 750
RAM: 8 GB
[close]
Pretty sure I'm supposed to be banned, someone might want to get on that.

Quote from: GoodMorning on December 01, 2016, 05:58:30 PM"Build a ladder to the moon" is simple as a sentence, but actually doing it is not.

knucracker

Looks like it was a problem with cannon shot destruction from multiple causes in the same frame.  This would cause a "double" destruction which in turn would cause a "ghost" of a cannon shot in some internal data structures.  Will be fixed in the next build.