You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
The code used to update the output ID to index table, but that left stale entries in the input buffer set. When particles died, one of the buffers had -1 for the dead IDs, but the other still had the old execution indexes. This could lead to direct reads returning bogus data, instead of reporting that the ID is no longer in use. The solution is to clear the ID table at the beginning of the tick, and let the UpdateID() function fill in the IDs which are still in use. This problem didn't occur on GPU, where the tables were already being cleared. #rb none #ROBOMERGE-SOURCE: CL 11292467 via CL 11292468 #ROBOMERGE-BOT: (v647-11244347) [CL 11293007 by mihnea balta in Main branch]