Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.967] NullReferenceException on missiles
2017-02-25, 09:11 PM (This post was last modified: 2017-03-04 04:40 PM by adsy2008.)
Post: #1
[v1.967] NullReferenceException on missiles
I noticed a massive performance issue today when getting hit by about 400 missiles, I died but after that, the game continued to lag. I checked processor, memory and graphics processing and memory usage to be sure nothing was overloaded.

The graphics processor was spiking 10% then to 100% and back again constantly.

I checked the output_log file and discovered this:

Code:
NullReferenceException: Object reference not set to an instance of an object
  at MissileUniversalSeeker.FindTarget () [0x00000] in <filename unknown>:0
  at MissileUniversalSeeker.Run () [0x00000] in <filename unknown>:0
  at CustomMissile.SeekerRoutine () [0x00000] in <filename unknown>:0
  at DelayedFunction.PassageOfTime (Single t) [0x00000] in <filename unknown>:0
  at DelayedFunctionCaller.PassageOfTIme (Single t) [0x00000] in <filename unknown>:0
  at CustomMissile.Update () [0x00000] in <filename unknown>:0

There were hundreds of entries and it just kept going.

To repeat this issue:

- Fire a large number of targeted missiles at enemy.
- Kill enemy player.
- Respawned enemy player will have these messages in their error log.

Edit:
If you wait until all missiles have dispersed before pressing respawn, the null references don't happen.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)