x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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):

 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. Projectiles OnHit

This is how projectile's collision looks like

alt text

This is how projectile channel looks like

alt text

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?

Product Version: UE 4.17
Tags:
more ▼

asked Sep 22 '17 at 03:45 PM in Bug Reports

avatar image

Flash7
834 9 16 29

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Nov 09 '17 at 10:02 PM

avatar image

lotodore
211 9 16 22

avatar image Flash7 Nov 09 '17 at 11:23 PM

Thanks! I see that it has been scheduled to be fixed in 4.19. Hopefully, by the time I release the game, it will be fixed already.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question