Jump to content

Crash...


Recommended Posts

@Maris, scripts/prefabs/pigtorch.lua, line 122. The line in question:

    inst.components.spawner:SetOnVacateFn(function(inst, child)        local fx = SpawnPrefab("collapse_small")        fx.Transform:SetPosition(inst.Transform:GetWorldPosition())    end)

It seems really weird that it would execute GetWorldPosition() successfully, but end up returning nothing... ? But I would think it would say that it got nil, instead. You can check the other files in the stack, though... (components/spawner, line 253, etc).

Link to comment
Share on other sites

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
 Share

×
  • Create New...