This object is in archive! 

[API] MyResourceSinkComponent.IsPoweredByType doesn't work properly

Thomas noneofyourbusiness shared this feedback 2 years ago
Not Enough Votes

Hi,

MyResourceSinkComponent.IsPoweredByType returns true for every MyDefinitionId not present in MyResourceSinkComponent.AcceptedResources. This is caused by GetTypeIndex() returning 0 as default value which is used as an index in m_dataPerType.

The same issue might also occur in MyResourceSourceComponent.


Game version 1.201.013

Leave a Comment
 
Attach a file