Jump to content

Crash with Decorated Gravestone


Maxil20
  • Pending

I built a couple of decorated graves, and it seems that while they were fine loaded, I immediately crashed when they were unloaded (to be more specific, from using a wormhole).

Provided are the logs of the crash. The particular bit that's noteworthy:

 

Spoiler

[00:21:53]: [string "scripts/components/decoratedgrave_ghostmana..."]:205: attempt to compare number with nil
LUA ERROR stack traceback:
scripts/components/decoratedgrave_ghostmanager.lua:205 in (method) OnUpdate (Lua) <147-210>
   self =
      GetDebugString = function - scripts/components/decoratedgrave_ghostmanager.lua:216
      inst = 100029 - world (valid:true)
      UnregisterDecoratedGrave = function - scripts/components/decoratedgrave_ghostmanager.lua:141
      OnUpdate = function - scripts/components/decoratedgrave_ghostmanager.lua:147
      RegisterDecoratedGrave = function - scripts/components/decoratedgrave_ghostmanager.lua:127
   dt = 0.033333335071802
   gx = -743.85870361328
   gy = 0
   gz = -614.24066162109
   player = nil
   pdsq = nil
   _ = 217404 - gravestone (valid:true)
   ghost = 218713 - graveguard_ghost (valid:true)
scripts/update.lua:262 in () ? (Lua) <224-298>
   dt = 0.033333335071802
   tick = 28354
   k = 100029
   v = 100029 - world (valid:true)
   cmp = table: 0000000018D57420

[00:21:53]: [string "scripts/components/decoratedgrave_ghostmana..."]:205: attempt to compare number with nil
LUA ERROR stack traceback:
    scripts/components/decoratedgrave_ghostmanager.lua:205 in (method) OnUpdate (Lua) <147-210>
    scripts/update.lua:262 in () ? (Lua) <224-298>
    

 


Steps to Reproduce

-Build a grave, and decorate it. The gravestone will be fine initially, but will crash as soon as the area is unloaded




User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...