Corescript throws errors when player leaves

EDIT: This happens even without the scripts.
EDIT2: It seems like this is 100% replicable in test mode in studio

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    It is reported that leaderboard breaks and the corescripts throws out a long list of errors when the players leave.

  2. What is the issue? Include screenshots / videos if possible!


I am creating an array holding various information of one player at a time. This is used to render the player through the wall.

image
This array holds information that I use to render the one specific player’s bodyparts in a viewport

A renderstep is running in the module and cleans up if they players die or is removed

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried various methods to clean up the players which I think is working fine. I am not sure what causes the corescript to error.

In my opinion, you will have to report this error in #platform-feedback:engine-bugs.