The UObjectLibrary::RemoveObject function has mixed up logic inside of it that causes it to remove objects from the incorrect array. It currently removes from the Objects array if bUseWeakReferences is true and removes from the WeakObjects array if it is false. It should do the opposite of this.

Regression?: No
This was also the case in 4.13

Steps to Reproduce

No reproduction - Code issue

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

ComponentUE - Gameplay
Affects Versions4.
Target Fix4.16
Fix Commit3294753
Main Commit3315211
CreatedJan 26, 2017
ResolvedFeb 9, 2017
UpdatedApr 27, 2018