Maris Posted January 13, 2015 Share Posted January 13, 2015 Bug Submission: Category: Server Crash Issue Title: Delete 10000 prefabs Issue Description: Yes, i was trying to delete 10000 prefabs at once. Probably it's random bug. I think you can find it if and only if you will spawn or delete tons of prefabs on the server with clients. Steps to Reproduce: 1. Start a server. 2. Login as client. 3. Spawn 10000 "cutgrass" near client character. 4. Delete all prefabs in the game at once (in one code chunk). Link to comment https://forums.kleientertainment.com/forums/topic/49055-server-crash-delete-10000-prefabs/ Share on other sites More sharing options...
Maris Posted January 13, 2015 Author Share Posted January 13, 2015 Where is my attached screenshot? Also:GLOBAL.del_all=function() local e=TheSim:FindEntities(0,0,0,1500) --local res={} --local j=1 for i,v in ipairs(e) do if (v.prefab~="wilson") then --local s=v.prefab local r=v:Remove() --res[j]=tostring(s).." = "..tostring(r) --j=j+1 end end --arr(res) --p("DELETED "..j.." PREFABS")end Link to comment https://forums.kleientertainment.com/forums/topic/49055-server-crash-delete-10000-prefabs/#findComment-601263 Share on other sites More sharing options...
Developer Wade Posted January 13, 2015 Developer Share Posted January 13, 2015 Yeah, generally if you are spawning 10,000 of any item into the game, it's going to cause an issue. Link to comment https://forums.kleientertainment.com/forums/topic/49055-server-crash-delete-10000-prefabs/#findComment-601510 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.