C++ TSet<> unable to read memory

Hi, I’m trying to loop a TSet<> and accessing each pointer only if is valid but sometimes the if statement returns true (which means is valid) but crashes when accessing it with like if its corrupted.
I check in debug mode and they are not actually invalid but they seem corrupted in memory??

1 Like