Whenever calling the Clothing.BuildPlayer() command (0x5BB082) seems to crash the game at address 0x73AD3F. I've tried directly calling it using Memory.CallFunction() same result.
This is my code,

If I comment out the Clothing.BuildPlayer() and test the rest of the code out, the clothes do change when the game internally calls the Clothing.BuildPlayer() function (can check entering-exiting doors/ wardrobe). (Probably works fine when called from the main thread?)
Logs,


Whenever calling the
Clothing.BuildPlayer()command (0x5BB082) seems to crash the game at address 0x73AD3F. I've tried directly calling it usingMemory.CallFunction()same result.This is my code,

If I comment out the
Clothing.BuildPlayer()and test the rest of the code out, the clothes do change when the game internally calls theClothing.BuildPlayer()function (can check entering-exiting doors/ wardrobe). (Probably works fine when called from the main thread?)Logs,

