Hey all, I have noticed with the update to 39.00, our UEFN builds now crash whenever a call to put the fort_character of a NPC spawned from the npc_spawner_device into stasis is made (PutInStasis).
This was working with 38.10 with the call causing the NPC to stop moving until a subsequent ReleaseFromStasis is called. As of 39.00, calling PutInStasis causes the game to freeze for about 20 seconds before the game ultimately crashes. Any help with the matter would be greatly appreciated as our game heavily relies on this functionality.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
AI
Steps to Reproduce
Spawn an NPC from a npc_spawner_device
Get reference to the NPCs fort_character
Call PutInStasis() on the fort_character
Expected Result
NPC stops moving until a subsequent ReleaseFromStasis is called
Observed Result
the game freezes for about 20 seconds before the game ultimately crashes
@Flak For sure! I have logs I just produced, but when I try to upload the zipped folder here it is saying “Sorry, new users can not upload attachments“. How should I go about handing the zip over?
May be worth mentioning that the session disconnects immediately once the issue occurs, leaving the island frozen for around 30 seconds before it boots the session back to lobby with a “Network Error“.
@Ga.th I am not sure the context of what you are applying the PutInStasis to the NPC, but for my context (seen in my previous post) launching the stasis call on a separate thread does not do anything.
Yes, I did some more tests with Sleep(0.0) and it really doesn’t work. I’m applying the effect to test players, who were most likely standing still when I tested it. Thanks for the reply.