FArchive& operator<<(struct FWeakObjectPtr&) crash
Hi. i just found a crash when i tried my packaged game with multiplayer. This is never reproduce when we play with less than 4 PC. And even with more than 4 PC connected, it still rarely happens. And i really don't know how to reproduce the bug or even fix it.
All we did is keep shooting raycast to another player, (our weapon will spawn a bullet projectile (AActor) to make it look nice). And while we fight each other, we jumping, running and go here and there (like normal fps game).
Suddenly, the game crashes and this is the call stack
Also, i just realized that FBitReader class is developed after 4.13. i think maybe it has something to do with that, but im not entirely sure. Did anyone have explanation about this?
Note: i cant find any .dmp file created on my folder
Any help is appreciated. Thank you very much
This happens when you trying to replicate an Actor property inside HitResult structure. There is an engine problem that I met when writting my own bake subsystem. (Explained here) Any archives except Linker (uasset file packager) can not handle UObjects and references. This error wont pop permanently because serializers don't serialize values that equals to the defaults. It seems your structure usually have an Actor set to null and replication not crashing. To fix this crashes you can:
Follow this question
Once you sign in you will be able to subscribe for any updates here