Seems like there's an issue with the diseaseable component where latency can cause a crash with the error listed above. I was able to fix it by adding :
local fx = SpawnPrefab("diseaseflies") fx.entity:SetParent(inst.entity) I added this part --> fx:DoTaskInTime(0, function() < -- Simply delaying it seems to fix the issue. Adding an "if fx ~= nil then" may also help just in case the flies fail to spawn? fx:SetLoops(loops) end)
into the diseasable command within the DoFX function - I think it's pretty safe to assume WHERE in the function
Seems like I didn't fix it. Here's the log.
Make many plants diseased; make many crash