Description

This problem caused by incorrect initialization of RandomStream in the GPU particle.

  

//PaticleGpuSimulation.cpp
	virtual void Init() override
	{
...
		check(AllocatedTiles.Num() == TileTimeOfDeath.Num());
		FreeParticlesInTile = 0;
#if 1  // fixed code
		RandomStream.Initialize(Component->RandomStream.GetUnsignedInt());
#else
		RandomStream.Initialize(Component->RandomStream.FRand());
#endif
		EmitterInstRandom = RandomStream.GetFraction();


Steps to Reproduce
  1. Open attached project VFInitRotation425.zip[Image Removed] on ue4.25
  2. Press Play In Editor
  3. see particle behavior

The particle flow always flows in the same direction, regardless of using the randomized VF rotation.

 

 

[Image Removed]

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-95086 in the post.

1
Login to Vote

Backlogged
ComponentRendering - Cascade
Affects Versions4.234.244.25
CreatedJun 30, 2020
UpdatedJun 30, 2020