Sign in to follow this  

[scripls/prefabs/fire.lua"]:53: calling 'FindEntities' on bad self (number expected. got nil)


zihengclark
  • Pending

QQ圖片20161029012505.png


Steps to Reproduce
when I try to remove the fire from the red hum, it's crash
Sign in to follow this  


User Feedback


This also happening

 

 

[00:07:34]: [string "scripts/components/follower.lua"]:8: attempt to index field 'follower' (a nil value)
LUA ERROR stack traceback:
    scripts/components/follower.lua:8 in (field) ? (Lua) <7-9>
    scripts/class.lua:30 in () ? (Lua) <23-32>
    scripts/components/follower.lua:127 in (method) SetLeader (Lua) <104-134>
    scripts/components/leader.lua:57 in (method) RemoveFollower (Lua) <47-60>
    scripts/components/follower.lua:106 in (method) SetLeader (Lua) <104-134>
    scripts/components/leader.lua:66 in (method) AddFollower (Lua) <62-83>
    scripts/components/follower.lua:109 in (method) SetLeader (Lua) <104-134>
    scripts/prefabs/walrus_camp.lua:252 in (upvalue) SpawnHuntingParty (Lua) <208-268>
    scripts/prefabs/walrus_camp.lua:273 in (upvalue) CheckSpawnHuntingParty (Lua) <270-276>
    scripts/prefabs/walrus_camp.lua:300 in (field) ? (Lua) <298-301>
    scripts/components/worldstate.lua:42 in (upvalue) SetVariable (Lua) <24-48>
    scripts/components/worldstate.lua:72 in (local) fn (Lua) <70-78>
    scripts/entityscript.lua:972 in (method) PushEvent (Lua) <959-986>
    scripts/components/clock.lua:306 in (method) OnUpdate (Lua) <231-345>
    scripts/update.lua:187 in () ? (Lua) <150-223>

Share this comment


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