Knuckle Cracker

Knuckle Cracker => Support => Topic started by: planetfall on January 28, 2017, 06:43:16 PM

Title: [Bug] The Return of the Null Reference Exception Curse
Post by: planetfall on January 28, 2017, 06:43:16 PM

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 Missile.GameUpdate () [0x00000] in <filename unknown>:0
  at GameSpace.GameUpdate () [0x00000] in <filename unknown>:0
  at GameSpace.Update () [0x00000] in <filename unknown>:0


It appears to be the same bug as http://knucklecracker.com/forums/index.php?topic=22827.0 but this time with missiles instead of cannons. Save and log are attached.
Title: Re: [Bug] The Return of the Null Reference Exception Curse
Post by: knucracker on January 30, 2017, 11:14:02 AM
Yep, I see the same issue in missile.  Simple fix fortunately.  Thanks for noting the similarity to the older problem.  That saved me an hour easily :)
Fix will be in the next build.