Maris Posted January 2, 2015 Share Posted January 2, 2015 How can I find exact file and line with error? May be this is the GAME bug?.. Link to comment https://forums.kleientertainment.com/forums/topic/48229-crash/ Share on other sites More sharing options...
rezecib Posted January 3, 2015 Share Posted January 3, 2015 @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 https://forums.kleientertainment.com/forums/topic/48229-crash/#findComment-596192 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now