Collisions in shipping build with -nativizeAssets
I'm making a multiplayer game. To test how everything works I built a dedicated server for Linux and a client for Windows. My project is based on 3rd person template (blueprint, and then I converted it to C++ project by adding C++ class). Also, for building executables, I made a virtual build server using "UnrealEngine-release" 4.17 branch source code (4.17.1). I build server and client executables by using a command line (virtual server does not have a video card).
So, everything works as expected until I add -nativizeAssets into command line (client):
Then collisions for projectiles do not work: all projectiles just go thru geometry.
This is how projectile's collision looks like
This is how projectile channel looks like
when I build server/client without -nativizeAssets, it all works perfectly fine. Is it a bug or am I doing something wrong? Could it be that my channel "Projectile" got lost in nativization?
I suppose that this is related to https://answers.unrealengine.com/questions/592531/ue-4151-nativize-blueprint-collision-bug-spawning.html - as you already have commented there, you have noted this, too :-).
I have a very similar issue - the workaround I'm using for now is to update the collision settings in "Begin Play" of the corresponding actors by using "Set Collision Response To Channel" or "Set Collision Profile Name". This needs to be done on both the client and the server, as it is not replicated.
answered Nov 09 '17 at 10:02 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here