This is a really weird to describe bug because I have no idea why it happens and it seems to be dependent on the spawned creature
Sometimes when spawning a creature with a brain in an OnEntityWake function/event listener of a prefab/component the creature's brain is inactive
Delaying the spawn by a frame with a DoTaskInTime always fixes it
Oddly in my tests it always happens with merms and only happens with spiders if the game is reloaded. Ive had this bug occur for modded ports of tigershark, dodoys etc and its pretty obvious that this bug only happens in DST not DS
I really hope it gets fixed as its really annoying for modders and I wouldnt be surprised if whatever is causing this is also causing some other nasty obscure DST bugs
Here's a video example:
Create a prefab with the following code on the mastersim
inst:ListenForEvent("entitywake", function()
SpawnAt("merm", inst)
end)
Unload and load the prefab
Notice how the spawned merms brains are inactive...
-
1
There are no comments to display.
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