Open ContrerasA opened 1 year ago
Based on the error it looks like you're removing the function during the same emit, might need try to unregister at a later call. That said this could be fixed with an array copy before iteration, though not sure if perf cost is worth it. Might be an approach I'm missing
Thanks for the heads up. Yes, performing the deregistration at a later time has solved this issue. I'm simply calling the unregister function on the next frame instead
I'm attempting to manually unregister a UPrimaryDataAsset listerner from an event
Registering via
Unregistering via
Upon calling RemoveLambdaListener, I am receiving the error below on the first instance/occurence. If I simply play the game again, everything will work as it's supposed to. However restarting the editor will once again cause this error to appear the first time RemoveLambdaListener is triggered.