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):
cmd /k c:\Unreal\UnrealEngine-release-4.17\Engine\Build\BatchFiles\RunUAT.bat ^
BuildCookRun -project="c:\GameArtists\Unreal\D1M1Arena\Unreal\D1M1Arena.uproject" ^
-nop4 -cook -compressed -stage ^
-platform=Win64 -clientconfig=Shipping -serverconfig=Shipping -nativizeAssets ^
-pak -archive -archivedirectory="c:\GameArtists\Unreal\D1M1Arena\Unreal\Build " ^
-utf8output
Server:
cmd /k c:\Unreal\UnrealEngine-release-4.17\Engine\Build\BatchFiles\RunUAT.bat ^
BuildCookRun -project="c:\GameArtists\Unreal\D1M1Arena\Unreal\D1M1Arena.uproject" ^
-nop4 -build -cook -compressed -stage ^
-noclient -server -serverplatform=Linux -serverconfig=Shipping -nativizeAssets ^
-pak -archive -archivedirectory="c:\GameArtists\Unreal\D1M1Arena\Unreal\Build " ^
-utf8output
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?